From: malc <av1474@comtv.ru>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [6372] Remove real_screen->pixels checks
Date: Wed, 21 Jan 2009 00:34:47 +0000 [thread overview]
Message-ID: <E1LPR3P-0007tH-1Z@cvs.savannah.gnu.org> (raw)
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);
}
reply other threads:[~2009-01-21 0:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1LPR3P-0007tH-1Z@cvs.savannah.gnu.org \
--to=av1474@comtv.ru \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).