Use COGL to establish GL state for ClutterGLXTexturePixmap
authorOwen W. Taylor <otaylor@redhat.com>
Fri, 27 Feb 2009 18:39:53 +0000 (13:39 -0500)
committerRobert Bragg <robert@linux.intel.com>
Mon, 9 Mar 2009 15:42:23 +0000 (15:42 +0000)
commitf9d996a4603bef1f52e32e99f9f69a32b7c823ba
tree1e719a1ff39fcf21db5eedbe7d9101897b74b7cf
parent65c5188c7e6edf4b77887234035ae6a30fca9cb1
Use COGL to establish GL state for ClutterGLXTexturePixmap

Using glEnable() directly confuses COGL and can result in problems
like subsequent pick operations not working correctly. Get the
material for the ClutterTexture and call cogl_material_flush_gl_state()
instead.

http://bugzilla.openedhand.com/show_bug.cgi?id=1483
clutter/glx/clutter-glx-texture-pixmap.c