[GEM-dev] [pix_texture]: how to make 'mode 0' default?

IOhannes m zmoelnig zmoelnig at iem.at
Thu Sep 20 19:58:22 CEST 2007


chris clepper wrote:
> I changed the default to mode 0 about six weeks ago for non-OSX systems. 

but stull, wouldn't user-settable (runtime) defaults be an even better
option?
on my nvidia hardware i would very much prefer to have rectangle
textures by default (the last tests i did with the gemframebuffer, only
worked in rectangle-mode too; i think it is just the way to go if the
card supports it);
since the problem is (most likely) buggy hardware/drivers, where we have
no (generic) way to predict the behaviour of the system, it would be
good to let the user do some checks and adjust their system accordingly.

anyhow, probably i'll do that tomorrow:
how about an environment variable "GEM_RECTANGLE_TEXTURE" which could be
set to "0" to prevent the use of rectangle textures. (unset or 1 would
check for rectangle-support of the driver before enabling it)

fm.adsr
IOhannes




More information about the GEM-dev mailing list