summaryrefslogtreecommitdiffstats
path: root/third_party/gles2_book/Chapter_11
diff options
context:
space:
mode:
authoralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-20 14:27:06 +0000
committeralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-20 14:27:06 +0000
commitef29778ad0b2f9f4ba7ec1286999784518746a45 (patch)
tree0537f48d83e2d991138b208a90d3f1cf519f1bac /third_party/gles2_book/Chapter_11
parent99737847fa07c0d15469b6d4fb02b9ccc55429a6 (diff)
downloadchromium_src-ef29778ad0b2f9f4ba7ec1286999784518746a45.zip
chromium_src-ef29778ad0b2f9f4ba7ec1286999784518746a45.tar.gz
chromium_src-ef29778ad0b2f9f4ba7ec1286999784518746a45.tar.bz2
Uncommented out precision statements now that glsl translator is enabled. This also fixes Pepper3D ui-test.
BUG=44603 Review URL: http://codereview.chromium.org/2105012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47793 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/gles2_book/Chapter_11')
-rw-r--r--third_party/gles2_book/Chapter_11/Stencil_Test/Stencil_Test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/third_party/gles2_book/Chapter_11/Stencil_Test/Stencil_Test.c b/third_party/gles2_book/Chapter_11/Stencil_Test/Stencil_Test.c
index 4ef9a6b..b884e8d 100644
--- a/third_party/gles2_book/Chapter_11/Stencil_Test/Stencil_Test.c
+++ b/third_party/gles2_book/Chapter_11/Stencil_Test/Stencil_Test.c
@@ -29,9 +29,8 @@ int stInit ( ESContext *esContext )
" gl_Position = a_position; \n"
"} \n";
- // TODO(alokp): Shaders containing "precision" do not compile.
GLbyte fShaderStr[] =
- "//precision mediump float; \n"
+ "precision mediump float; \n"
"uniform vec4 u_color; \n"
"void main() \n"
"{ \n"