projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40c1c72
)
Check error return from _eglInitPbufferSurface() correctly
author
Jon Smirl
<jonsmirl@gmail.com>
Tue, 17 May 2005 03:48:38 +0000
(
03:48
+0000)
committer
Jon Smirl
<jonsmirl@gmail.com>
Tue, 17 May 2005 03:48:38 +0000
(
03:48
+0000)
src/mesa/drivers/dri/fb/fb_egl.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/fb/fb_egl.c
b/src/mesa/drivers/dri/fb/fb_egl.c
index 62e26021c5a145628ef23a425624555137b54f3a..79640bbc6181115e817836dff28485c8749ec961 100644
(file)
--- a/
src/mesa/drivers/dri/fb/fb_egl.c
+++ b/
src/mesa/drivers/dri/fb/fb_egl.c
@@
-529,7
+529,7
@@
fbCreatePbufferSurface(_EGLDriver *drv, EGLDisplay dpy, EGLConfig config, const
return EGL_NO_SURFACE;
}
- if (_eglInitPbufferSurface(&surf->Base, drv, dpy, config, attrib_list)) {
+ if (_eglInitPbufferSurface(&surf->Base, drv, dpy, config, attrib_list)
== EGL_NO_SURFACE
) {
free(surf);
return EGL_NO_SURFACE;
}