diff options
| author | Jack Palevich <jackpal@google.com> | 2009-09-23 14:48:07 -0700 |
|---|---|---|
| committer | Jack Palevich <jackpal@google.com> | 2009-09-23 14:48:07 -0700 |
| commit | a8fecb87c5eaaefc9ca6272e3b59ef88d293dd6d (patch) | |
| tree | 7652f77751c0f9aa13629288c325e82d272e65cf /opengl/tests/gl2_basic/gl2_basic.cpp | |
| parent | 63147705bc2893d6ad43270e04beb9ee01e2ad53 (diff) | |
Create samples showing how to call OpenGL from JNI libraries.
Diffstat (limited to 'opengl/tests/gl2_basic/gl2_basic.cpp')
| -rw-r--r-- | opengl/tests/gl2_basic/gl2_basic.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/opengl/tests/gl2_basic/gl2_basic.cpp b/opengl/tests/gl2_basic/gl2_basic.cpp index f97d3479e943..ba9a71776948 100644 --- a/opengl/tests/gl2_basic/gl2_basic.cpp +++ b/opengl/tests/gl2_basic/gl2_basic.cpp @@ -291,6 +291,7 @@ int main(int argc, char** argv) { for (;;) { renderFrame(); eglSwapBuffers(dpy, surface); + checkEglError("eglSwapBuffers"); } return 0; |
