projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0de5a2
)
egl: fix width/height tests
author
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 30 May 2008 17:40:48 +0000
(11:40 -0600)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 30 May 2008 17:47:08 +0000
(11:47 -0600)
src/egl/main/eglsurface.c
patch
|
blob
|
history
diff --git
a/src/egl/main/eglsurface.c
b/src/egl/main/eglsurface.c
index
1dbb12e
..
796d62f
100644
(file)
--- a/
src/egl/main/eglsurface.c
+++ b/
src/egl/main/eglsurface.c
@@
-175,7
+175,7
@@
_eglInitSurface(_EGLDriver *drv, EGLDisplay dpy,
}
}
- if (width <
= 0 || height <=
0) {
+ if (width <
0 || height <
0) {
_eglError(EGL_BAD_ATTRIBUTE, func);
return EGL_FALSE;
}