projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8704619
)
compositor-x11: Check the right variable after creating dummy pbuffer
author
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 17 May 2012 13:40:23 +0000
(09:40 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 17 May 2012 13:40:23 +0000
(09:40 -0400)
src/compositor-x11.c
patch
|
blob
|
history
diff --git
a/src/compositor-x11.c
b/src/compositor-x11.c
index
3a4709c
..
7452c1c
100644
(file)
--- a/
src/compositor-x11.c
+++ b/
src/compositor-x11.c
@@
-170,7
+170,7
@@
x11_compositor_init_egl(struct x11_compositor *c)
c->dummy_pbuffer = eglCreatePbufferSurface(c->base.display,
c->base.config,
pbuffer_attribs);
- if (c->
base.context
== NULL) {
+ if (c->
dummy_pbuffer
== NULL) {
fprintf(stderr, "failed to create dummy pbuffer\n");
return -1;
}