Fixed issues with non-power-of-two textures. It would appear that in order to load them, glTexImage2D requires the source data to have an alpha channel regardless whether you specify the load format as GL_RGB. Either this is a bug in my driver or something is wrong somewhere as this just don't make much logical sense to me.
Anyway, I've changed the texture uploading as necessary in order to get this working and have now enabled use of nonpow2 textures by default if supported.
Changed: cvar renamed "-texnonpow2" to "-notexnonpow2" and logicaly inverted its usage.
At some point in the not-to-distant future Doomsday's texture upload pipeline needs a complete rewrite.
Fixed issues with non-power-of-two textures. It would appear that in order to load them, glTexImage2D requires the source data to have an alpha channel regardless whether you specify the load format as GL_RGB. Either this is a bug in my driver or something is wrong somewhere as this just don't make much logical sense to me.
Anyway, I've changed the texture uploading as necessary in order to get this working and have now enabled use of nonpow2 textures by default if supported.
Changed: cvar renamed "-texnonpow2" to "-notexnonpow2" and logicaly inverted its usage.
At some point in the not-to-distant future Doomsday's texture upload pipeline needs a complete rewrite.