Hi, For this ClutterFlattener hack I'm messing with, http://bugzilla.o-hand.com/show_bug.cgi?id=1469
there's a need to set the matrix and viewport to the default ones that are set by cogl_draw_buffer(OFFSCREEN). cogl doesn't export a way to push/pop viewport or load identity matrix, so I end up with raw GL code in the flattener actor which is clearly wrong. Not sure of the correct fix, but one idea is to make cogl_setup_viewport() work differently according to the current draw buffer - so cogl_draw_buffer() would just call cogl_setup_viewport(). Or would it be better to add some separate cogl_setup_offscreen_viewport() maybe? Havoc -- To unsubscribe send a mail to [email protected]
