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_CreateRGBSurfaceFrom() doesn't work?!
gregors


Joined: 26 Oct 2014
Posts: 5
Hi there,

first of all: English is not my mother's tongue.

Learning C++ I created a class to draw pictures. Now I want to use SDL to make them visible. But unfortunately what I programmed doesn't work. It just shows a black window, but the 'shots' created at the end of the program do show what I expect. Since several people weren't able to help me with that I'm asking you to have a look at

http://test.szaktilla.de/sdltest-0.43.tbz

and help me.

Thanks a lot!

Gregor