projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59051ad
)
egl: add missing case in _eglError()
author
Brian Paul
<brianp@vmware.com>
Fri, 31 Dec 2010 16:14:19 +0000
(09:14 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 31 Dec 2010 16:14:25 +0000
(09:14 -0700)
src/egl/main/eglcurrent.c
patch
|
blob
|
history
diff --git
a/src/egl/main/eglcurrent.c
b/src/egl/main/eglcurrent.c
index cbca9ff2c2f4c6a8e953aa148ec11de724b12d09..4221a9be3e1307d95027b040e12f154b686e4dff 100644
(file)
--- a/
src/egl/main/eglcurrent.c
+++ b/
src/egl/main/eglcurrent.c
@@
-286,6
+286,9
@@
_eglError(EGLint errCode, const char *msg)
case EGL_BAD_SURFACE:
s = "EGL_BAD_SURFACE";
break;
+ case EGL_NOT_INITIALIZED:
+ s = "EGL_NOT_INITIALIZED";
+ break;
#ifdef EGL_MESA_screen_surface
case EGL_BAD_SCREEN_MESA:
s = "EGL_BAD_SCREEN_MESA";
@@
-295,7
+298,7
@@
_eglError(EGLint errCode, const char *msg)
break;
#endif
default:
- s = "other";
+ s = "other
EGL error
";
}
_eglLog(_EGL_DEBUG, "EGL user error 0x%x (%s) in %s\n", errCode, s, msg);
}