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:
5f5f319
)
Use the dummy pbuffer we create to make current
author
Cooper Yuan
<cooperyuan@gmail.com>
Mon, 30 Apr 2012 18:16:46 +0000
(14:16 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Mon, 30 Apr 2012 18:16:46 +0000
(14:16 -0400)
src/compositor-x11.c
patch
|
blob
|
history
diff --git
a/src/compositor-x11.c
b/src/compositor-x11.c
index
6d9bb0e
..
304a4d5
100644
(file)
--- a/
src/compositor-x11.c
+++ b/
src/compositor-x11.c
@@
-174,8
+174,8
@@
x11_compositor_init_egl(struct x11_compositor *c)
return -1;
}
- if (!eglMakeCurrent(c->base.display,
EGL_NO_SURFACE
,
-
EGL_NO_SURFACE
, c->base.context)) {
+ if (!eglMakeCurrent(c->base.display,
c->dummy_pbuffer
,
+
c->dummy_pbuffer
, c->base.context)) {
fprintf(stderr, "failed to make context current\n");
return -1;
}