projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88e77b2
)
[glx] Explicitly set the depth size for GLX visuals
author
Emmanuele Bassi
<ebassi@linux.intel.com>
Mon, 27 Jul 2009 14:08:03 +0000
(15:08 +0100)
committer
Emmanuele Bassi
<ebassi@linux.intel.com>
Mon, 27 Jul 2009 14:08:03 +0000
(15:08 +0100)
When requesting a GLX visual from the X server we should explicitly
set the GL_DEPTH_SIZE and the GL_ALPHA_SIZE bits, otherwise some
functionality might just not work, or work unreliably.
Fixes bug:
http://bugzilla.openedhand.com/show_bug.cgi?id=1723
clutter/glx/clutter-backend-glx.c
patch
|
blob
|
history
diff --git
a/clutter/glx/clutter-backend-glx.c
b/clutter/glx/clutter-backend-glx.c
index
d97ccec
..
1c05358
100644
(file)
--- a/
clutter/glx/clutter-backend-glx.c
+++ b/
clutter/glx/clutter-backend-glx.c
@@
-624,7
+624,9
@@
clutter_backend_glx_get_visual_info (ClutterBackendX11 *backend_x11,
GLX_RED_SIZE, 1,
GLX_GREEN_SIZE, 1,
GLX_BLUE_SIZE, 1,
+ GLX_ALPHA_SIZE, 1,
GLX_STENCIL_SIZE, 1,
+ GLX_DEPTH_SIZE, 1,
0
};
int offscreen_gl_attributes[] = {