Correct the eglMakeCurrent return value on lost context (syntax)

TRAC #11233 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@320 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 561637ae
...@@ -828,7 +828,7 @@ EGLBoolean __stdcall eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface ...@@ -828,7 +828,7 @@ EGLBoolean __stdcall eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface
if (!device || device->ValidateDevice(&passes) == D3DERR_DEVICELOST) if (!device || device->ValidateDevice(&passes) == D3DERR_DEVICELOST)
{ {
return error(EGL_CONTEXT_LOST, false); return error(EGL_CONTEXT_LOST, EGL_FALSE);
} }
if (ctx != EGL_NO_CONTEXT && !validate(display, context)) if (ctx != EGL_NO_CONTEXT && !validate(display, context))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment