Cone3D Programming - SDL, OpenGL and C++ Tutorials - 0 views
-
screen = SDL_SetVideoMode(640, 480, 32, SDL_HWSURFACE|SDL_DOUBLEBUF);
-
metacipher on 13 Oct 07You should note that this tutorial fails to free the memory it created. You should call SDL_FreeSurface(screen) when quitting, to free the display surface created.
-