summaryrefslogtreecommitdiffstats
path: root/opengl/tests/gl2_basic
diff options
context:
space:
mode:
authorJack Palevich <jackpal@google.com>2009-09-23 14:48:07 -0700
committerJack Palevich <jackpal@google.com>2009-09-23 14:48:07 -0700
commit919583553781f1e1885fa17f76d54008ebeca3c1 (patch)
treef9d160b72d1ed457e305ce6d8bbd8adf56143e0b /opengl/tests/gl2_basic
parent58807ca3b7284560a144c5d4acbb629f5317306c (diff)
downloadframeworks_native-919583553781f1e1885fa17f76d54008ebeca3c1.zip
frameworks_native-919583553781f1e1885fa17f76d54008ebeca3c1.tar.gz
frameworks_native-919583553781f1e1885fa17f76d54008ebeca3c1.tar.bz2
Create samples showing how to call OpenGL from JNI libraries.
Diffstat (limited to 'opengl/tests/gl2_basic')
-rw-r--r--opengl/tests/gl2_basic/gl2_basic.cpp1
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 f97d347..ba9a717 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;