Index: third_party/gles2_book/Chapter_11/Stencil_Test/Stencil_Test.c |
=================================================================== |
--- third_party/gles2_book/Chapter_11/Stencil_Test/Stencil_Test.c (revision 98648) |
+++ third_party/gles2_book/Chapter_11/Stencil_Test/Stencil_Test.c (working copy) |
@@ -225,6 +225,7 @@ |
glUniform4fv( userData->colorLoc, 1, colors[i] ); |
glDrawElements( GL_TRIANGLES, 6, GL_UNSIGNED_BYTE, offset ); |
} |
+ glStencilMask( 0xff ); |
} |
/// |