Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Extending Gosu / gosu internals question
- By banister Date 2009-06-01 14:26
hello,

what is the size of the quads you allocate to hold the textures in the most recent version of gosu? and where do i find those values in the source? ( :D sorry i had a quick look but couldn't find them... :D )

also is there a method i can call on the Gosu module that returns the current version of Gosu? :)

thanks in advance,

banister
- By jlnr (dev) Date 2009-06-01 18:58
I'm not sure if I made a ToDo item for the version constant already, I'll add another one just in case ;)

You can always find the texture size calculation at the top of GosuImpl/Graphics/Texture.cpp. Right now, they are maxed out at 1024 px square. Of course, if a driver says it only supports 512 px, Gosu will only use that.
Up Topic Gosu / Extending Gosu / gosu internals question

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill