qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [6372] Remove real_screen->pixels checks
@ 2009-01-21  0:34 malc
  0 siblings, 0 replies; only message in thread
From: malc @ 2009-01-21  0:34 UTC (permalink / raw)
  To: qemu-devel

Revision: 6372
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6372
Author:   malc
Date:     2009-01-21 00:34:46 +0000 (Wed, 21 Jan 2009)

Log Message:
-----------
Remove real_screen->pixels checks

Modified Paths:
--------------
    trunk/sdl.c

Modified: trunk/sdl.c
===================================================================
--- trunk/sdl.c	2009-01-20 16:57:34 UTC (rev 6371)
+++ trunk/sdl.c	2009-01-21 00:34:46 UTC (rev 6372)
@@ -93,22 +93,12 @@
     if (gui_noframe)
         flags |= SDL_NOFRAME;
 
- again:
     real_screen = SDL_SetVideoMode(ds_get_width(ds), ds_get_height(ds), 0, flags);
     if (!real_screen) {
         fprintf(stderr, "Could not open SDL display\n");
         exit(1);
     }
-    if (!real_screen->pixels && (flags & SDL_HWSURFACE) && (flags & SDL_FULLSCREEN)) {
-        flags &= ~SDL_HWSURFACE;
-        goto again;
-    }
 
-    if (!real_screen->pixels) {
-        fprintf(stderr, "Could not open SDL display\n");
-        exit(1);
-    }
-
     sdl_setdata(ds);
 }
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-21  0:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-21  0:34 [Qemu-devel] [6372] Remove real_screen->pixels checks malc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).