summaryrefslogtreecommitdiffstats
path: root/third_party/gles2_book/Chapter_8
diff options
context:
space:
mode:
authoralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-14 16:24:14 +0000
committeralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-14 16:24:14 +0000
commit2289c29f0bdb08738db7da0b09768985692ea647 (patch)
treea1a00ac5665581e7ad5505708a93d6f413ab8b7c /third_party/gles2_book/Chapter_8
parent528211a4c55cec0d9ef0bc22d7cd7fc9e3138f57 (diff)
downloadchromium_src-2289c29f0bdb08738db7da0b09768985692ea647.zip
chromium_src-2289c29f0bdb08738db7da0b09768985692ea647.tar.gz
chromium_src-2289c29f0bdb08738db7da0b09768985692ea647.tar.bz2
SwapBuffer is now synchronous. No need for glFlush.
Review URL: http://codereview.chromium.org/536053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36241 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/gles2_book/Chapter_8')
-rw-r--r--third_party/gles2_book/Chapter_8/Simple_VertexShader/Simple_VertexShader.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/third_party/gles2_book/Chapter_8/Simple_VertexShader/Simple_VertexShader.c b/third_party/gles2_book/Chapter_8/Simple_VertexShader/Simple_VertexShader.c
index 8b9c217..90be08a 100644
--- a/third_party/gles2_book/Chapter_8/Simple_VertexShader/Simple_VertexShader.c
+++ b/third_party/gles2_book/Chapter_8/Simple_VertexShader/Simple_VertexShader.c
@@ -134,9 +134,6 @@ void svsDraw ( ESContext *esContext )
// Draw the cube
glDrawElements ( GL_TRIANGLES, userData->numIndices, GL_UNSIGNED_SHORT, 0 );
-
- // TODO(alokp): glFlush should not be necessary with SwapBuffers.
- glFlush();
}
///