Kind of resurrecting this thread; hope that's okay.

I'm working through this tutorial: http://www.learnopengl.com/#!Getting-started/Textures

It uses SOIL to load images, but I haven't seen any SOIL bindings in dub. I tried using SDL and SDL_Image but when the program ran it just crashed. I guess I was doing something wrong.

While googling, the idea seemed to be to create and SDL_Surface* and pass that (or surface.pixels) as the last argument for glTexImage2D. Didn't work for me, however.

Does anyone have any tips?

Reply via email to