Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / gl method's z-order?
- By 01k Date 2010-04-24 13:52
Can I specifiy a z-order for the Window's gl-method to render to?
It seems like it is always rendering below everything else.

Cheers,

k
- By jlnr (dev) Date 2010-04-24 15:48
Actually, when you call gl{} it will flush the whole queue of things to draw so far, then draw the GL stuff, then start z-ordering above everything else. I hope you can carefully position the gl{} block between things so it's in the right position.

I know that this is a downside and I hope that gl() {} will sometime be gl(z_order) {}, but I'm not yet sure when I can get around to it, given my current speed. :(
Up Topic Gosu / Gosu Exchange / gl method's z-order?

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill