aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/library_gl.js8
-rwxr-xr-xthird_party/lzma.js/doit.sh2
2 files changed, 9 insertions, 1 deletions
diff --git a/src/library_gl.js b/src/library_gl.js
index b5d65ee6..3eba76d0 100644
--- a/src/library_gl.js
+++ b/src/library_gl.js
@@ -1828,11 +1828,17 @@ var LibraryGL = {
},
glFogf: function(){}, // TODO
+ glFogi: function(){}, // TODO
+ glFogx: function(){}, // TODO
+ glFogfv: function(){}, // TODO
glPolygonMode: function(){}, // TODO
glAlphaFunc: function(){}, // TODO
+ glNormal3f: function(){}, // TODO
+
+
// ClientState/gl*Pointer
glEnableClientState: function(cap, disable) {
@@ -2040,7 +2046,7 @@ var LibraryGL = {
};
// Simple pass-through functions. Starred ones have return values. [X] ones have X in the C name but not in the JS name
-[[0, 'shadeModel fogi fogfv getError* finish flush'],
+[[0, 'shadeModel getError* finish flush'],
[1, 'clearDepth clearDepth[f] depthFunc enable disable frontFace cullFace clear enableVertexAttribArray disableVertexAttribArray lineWidth clearStencil depthMask stencilMask checkFramebufferStatus* generateMipmap activeTexture blendEquation polygonOffset sampleCoverage isEnabled*'],
[2, 'blendFunc blendEquationSeparate depthRange depthRange[f] stencilMaskSeparate hint'],
[3, 'texParameteri texParameterf drawArrays vertexAttrib2f stencilFunc stencilOp'],
diff --git a/third_party/lzma.js/doit.sh b/third_party/lzma.js/doit.sh
index 1fe516b3..1f530651 100755
--- a/third_party/lzma.js/doit.sh
+++ b/third_party/lzma.js/doit.sh
@@ -1,5 +1,7 @@
cd lzip
+export CXX=`../../../em-config LLVM_ROOT`/clang++
+
echo "native"
make clean
DECODER_ONLY=0 make lzip -j 4 # native build