On Tue, 2008-08-19 at 23:36 +0300, Michael Boccara wrote: > I tried to create a custom actors, using direct OpenGL calls in the > paint override.
> Did anybody else hit the same problem ? I had the same problem when making the ClutterMD2 renderer. You can work around it by saving some of the GL state before doing your custom GL rendering and then restoring it afterwards. Please take a look at the clutter_md2_data_save/restore_state functions here: http://tinyurl.com/5dn3bv > Is there a way to cancel Cogl's internal GL state cache ? Not at present. There was talk of providing functions in Cogl to help with this but it needs some more discussion before being implemented because it's not always obvious what state should be preserved. Sometimes you may want the GL state to be set to a known consistent state and sometimes you want some Cogl settings to remain (such as cogl_enable_depth_test or a shader). - Neil -- To unsubscribe send a mail to [EMAIL PROTECTED]
