Minor cleanup

Removed some unneded parts
This commit is contained in:
Dimitris Panokostas 2017-01-09 15:50:38 +01:00
parent b737a3c26b
commit e321d7d28f
4 changed files with 2 additions and 9 deletions

View file

@ -175,10 +175,6 @@ static void open_screen(struct uae_prefs *p)
if (Dummy_prSDLScreen == NULL)
{
const SDL_VideoInfo* videoInfo = SDL_GetVideoInfo();
#ifdef DEBUG
printf("DispmanX: Current resolution: %d x %d %d bpp\n", videoInfo->current_w, videoInfo->current_h, videoInfo->vfmt->BitsPerPixel);
#endif // DEBUG
// Dummy_prSDLScreen = SDL_SetVideoMode(videoInfo->current_w, videoInfo->current_h, videoInfo->vfmt->BitsPerPixel, SDL_SWSURFACE | SDL_FULLSCREEN);
Dummy_prSDLScreen = SDL_SetVideoMode(width, height, 16, SDL_SWSURFACE | SDL_FULLSCREEN);
}