Message Board


Message Board > C/C++ > SDL and OpenGL questions

July 30, 2013, 07:45
DoctorN
Whiskered
91 posts
using this
Code:
//Set up the screen
int flags = SDL_OPENGL;
screen = SDL_SetVideoMode( SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_BPP, flags ); 

how can I still use sdl_surface? how can I scale the resolution (the game would still be SCREEN_WIDTHxSCREEN_HEIGHT, but the window scaled to a different proportion with correct aspect ratio)?

Thanks
____________
#

Message Board > C/C++ > SDL and OpenGL questions

Quick reply


You must log in or register to post.
Copyright © 2005 Booleansoup.com
Questions? Comments? Bug reports? Contact us!