summaryrefslogtreecommitdiff
path: root/opengl/libagl/egl.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2010-10-06 16:45:56 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2010-10-06 16:45:56 -0700
commit3e41484e80412b127f0465a8c75c80b83e1b6868 (patch)
tree908a772fc6badc5e38b1808a802627f01594201f /opengl/libagl/egl.cpp
parent35641956fe30959c5898a12bded84f713148d544 (diff)
parent551dc26ebd7db09a6ae8604a8612c00d2ebab403 (diff)
Merge "libagl: eglSwapInterval fix"
Diffstat (limited to 'opengl/libagl/egl.cpp')
-rw-r--r--opengl/libagl/egl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libagl/egl.cpp b/opengl/libagl/egl.cpp
index 460b74ff38..239dc05c05 100644
--- a/opengl/libagl/egl.cpp
+++ b/opengl/libagl/egl.cpp
@@ -1969,7 +1969,7 @@ EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint interval)
if (egl_display_t::is_valid(dpy) == EGL_FALSE)
return setError(EGL_BAD_DISPLAY, EGL_FALSE);
// TODO: eglSwapInterval()
- return setError(EGL_BAD_PARAMETER, EGL_FALSE);
+ return EGL_TRUE;
}
// ----------------------------------------------------------------------------