The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL_GL_BindTexture
Sanette
Guest

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 Wink)

thanks
S.
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org