projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da7b3d2
)
egl: minor tweaks
author
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 4 Jun 2008 17:50:18 +0000
(11:50 -0600)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 5 Jun 2008 18:01:33 +0000
(12:01 -0600)
src/egl/drivers/dri/egldri.c
patch
|
blob
|
history
diff --git
a/src/egl/drivers/dri/egldri.c
b/src/egl/drivers/dri/egldri.c
index 1a922a74717b3277072d8f6253ab8b67e58d3133..57661cc3ab8f28eaf82b3a81cdb59b798878f379 100644
(file)
--- a/
src/egl/drivers/dri/egldri.c
+++ b/
src/egl/drivers/dri/egldri.c
@@
-82,7
+82,7
@@
_EGLDriver *
_eglMain(_EGLDisplay *dpy, const char *args)
{
#if 1
- const int card = a
toi(args)
;
+ const int card = a
rgs ? atoi(args) : 0
;
_EGLDriver *driver = NULL;
char driverName[1000];
@@
-1086,8
+1086,10
@@
_eglDRICreateDisplay(driDisplay *dpy, __DRIframebuffer *framebuffer)
api_ver,
& interface_methods,
NULL);
- if (!dpy->driScreen.private)
+ if (!dpy->driScreen.private) {
+ _eglLog(_EGL_WARNING, "egldri.c: DRI create new screen failed");
return EGL_FALSE;
+ }
DRM_UNLOCK( dpy->drmFD, dpy->pSAREA, dpy->serverContext );