[SDL] SDL_GL_BindTexture

Sanette sanette-linux at laposte.net
Thu Jan 28 12:42:04 PST 2016


Hi

is there a simple working example of using SDL_GL_BindTexture ?

(*not* the one on the wiki https://wiki.libsdl.org/SDL_GL_BindTexture, 
which is not very useful (to me, at least))

When I try, I always get brown rectangles instead of the loaded image.
(and if comment out the SDL_GL_BindTexture, I get white rectangles... so 
I does do something ;))

thanks
S.


More information about the SDL mailing list