It used to be safe to call SDL_CreateTexture and pass it a 0 for Format. But in the latest build, when I try to do that (under the OpenGL renderer), it returns NULL and SDL_GetError gives the message “Unsupported texture format.” I’d expect it to take that 0 and turn it into the highest-quality texture supported by the current renderer.
Fixed!On Fri, Apr 16, 2010 at 11:02 AM, Mason Wheeler wrote:
It used to be safe to call SDL_CreateTexture and pass it a 0 for Format.
But in the latest build, when I try to do that (under the OpenGL renderer),
it returns NULL and SDL_GetError gives the message “Unsupported texture
format.” I’d expect it to take that 0 and turn it into the highest-quality
texture supported by the current renderer.
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
–
-Sam Lantinga, Founder and CEO, Galaxy Gameworks