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
commitfcf43e7d599eed940c2d251144b8bd7ab322b9a0 (patch)
tree61e207ac5d4de3338e1743583486fa8a477d958e /opengl/libagl/egl.cpp
parent3a05ff487f5548c2f9a36d837742f282b6d36499 (diff)
parent1d83631af509545da575f01d9c1a464db488e11f (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 460b74ff3885..239dc05c05f6 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;
}
// ----------------------------------------------------------------------------