Mercurial > sdl-ios-xcode
annotate docs/html/guidecredits.html @ 883:50f5a29c6a17
Date: Sat, 10 Apr 2004 02:25:33 -0400
From: Glenn Maynard
To: sdl@libsdl.org
Subject: [SDL] SDL_SetVideoMode() failing and not setting an error (patch)
Running an OpenGL SDL application off 1.2.7, at SDL_InitSubSystem(SDL_INIT_VIDEO) time:
Warning: Unable to initialize AAlib mouseUsing AAlib driver: Slang driver 1.0 (slang)
SDL_SetVideoMode then fails; SDL_GetError() returns "".
The installation problem is straightforward: X (the higher priority
driver) isn't running, so SDL is falling back on aalib. However,
no error is being set when aalib fails to initialize. This also
happens with the svgalib driver.
SDL_video.c line ~653 sets mode to NULL, since aalib didn't return an
OpenGL surface. Line ~711 ("failed setting a video mode") returns NULL.
The attached patch sets an error. It's a horrible, useless error
message--it should really say eg. "aalib does not support OpenGL"; this
should probably be done earlier in the individual drivers, too.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 11 Apr 2004 19:54:40 +0000 |
parents | 355632dca928 |
children |
rev | line source |
---|---|
0 | 1 <HTML |
2 ><HEAD | |
3 ><TITLE | |
4 >Credits</TITLE | |
5 ><META | |
6 NAME="GENERATOR" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ |
0 | 8 "><LINK |
9 REL="HOME" | |
10 TITLE="SDL Library Documentation" | |
11 HREF="index.html"><LINK | |
12 REL="UP" | |
13 TITLE="Preface" | |
14 HREF="guidepreface.html"><LINK | |
15 REL="PREVIOUS" | |
16 TITLE="About SDLdoc" | |
17 HREF="guideaboutsdldoc.html"><LINK | |
18 REL="NEXT" | |
19 TITLE="The Basics" | |
20 HREF="guidethebasics.html"></HEAD | |
21 ><BODY | |
22 CLASS="SECT1" | |
23 BGCOLOR="#FFF8DC" | |
24 TEXT="#000000" | |
25 LINK="#0000ee" | |
26 VLINK="#551a8b" | |
27 ALINK="#ff0000" | |
28 ><DIV | |
29 CLASS="NAVHEADER" | |
30 ><TABLE | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
31 SUMMARY="Header navigation table" |
0 | 32 WIDTH="100%" |
33 BORDER="0" | |
34 CELLPADDING="0" | |
35 CELLSPACING="0" | |
36 ><TR | |
37 ><TH | |
38 COLSPAN="3" | |
39 ALIGN="center" | |
40 >SDL Library Documentation</TH | |
41 ></TR | |
42 ><TR | |
43 ><TD | |
44 WIDTH="10%" | |
45 ALIGN="left" | |
46 VALIGN="bottom" | |
47 ><A | |
48 HREF="guideaboutsdldoc.html" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
49 ACCESSKEY="P" |
0 | 50 >Prev</A |
51 ></TD | |
52 ><TD | |
53 WIDTH="80%" | |
54 ALIGN="center" | |
55 VALIGN="bottom" | |
56 >Preface</TD | |
57 ><TD | |
58 WIDTH="10%" | |
59 ALIGN="right" | |
60 VALIGN="bottom" | |
61 ><A | |
62 HREF="guidethebasics.html" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
63 ACCESSKEY="N" |
0 | 64 >Next</A |
65 ></TD | |
66 ></TR | |
67 ></TABLE | |
68 ><HR | |
69 ALIGN="LEFT" | |
70 WIDTH="100%"></DIV | |
71 ><DIV | |
72 CLASS="SECT1" | |
73 ><H1 | |
74 CLASS="SECT1" | |
75 ><A | |
76 NAME="GUIDECREDITS" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
77 ></A |
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
78 >Credits</H1 |
0 | 79 ><P |
80 ><P | |
81 ></P | |
82 ><TABLE | |
83 BORDER="0" | |
84 ><TBODY | |
85 ><TR | |
86 ><TD | |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
87 >Sam Lantinga, slouken@libsdl.org</TD |
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
88 ></TR |
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
89 ><TR |
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
90 ><TD |
0 | 91 >Martin Donlon, akawaka@skynet.ie</TD |
92 ></TR | |
93 ><TR | |
94 ><TD | |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
95 >Mattias Engdegård</TD |
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
96 ></TR |
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
97 ><TR |
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
98 ><TD |
0 | 99 >Julian Peterson</TD |
100 ></TR | |
101 ><TR | |
102 ><TD | |
103 >Ken Jordan</TD | |
104 ></TR | |
105 ><TR | |
106 ><TD | |
107 >Maxim Sobolev</TD | |
108 ></TR | |
109 ><TR | |
110 ><TD | |
111 >Wesley Poole</TD | |
112 ></TR | |
113 ><TR | |
114 ><TD | |
115 >Michael Vance</TD | |
116 ></TR | |
117 ><TR | |
118 ><TD | |
119 >Andreas Umbach</TD | |
120 ></TR | |
121 ><TR | |
122 ><TD | |
123 >Andreas Hofmeister</TD | |
124 ></TR | |
125 ></TBODY | |
126 ></TABLE | |
127 ><P | |
128 ></P | |
129 ></P | |
130 ></DIV | |
131 ><DIV | |
132 CLASS="NAVFOOTER" | |
133 ><HR | |
134 ALIGN="LEFT" | |
135 WIDTH="100%"><TABLE | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
136 SUMMARY="Footer navigation table" |
0 | 137 WIDTH="100%" |
138 BORDER="0" | |
139 CELLPADDING="0" | |
140 CELLSPACING="0" | |
141 ><TR | |
142 ><TD | |
143 WIDTH="33%" | |
144 ALIGN="left" | |
145 VALIGN="top" | |
146 ><A | |
147 HREF="guideaboutsdldoc.html" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
148 ACCESSKEY="P" |
0 | 149 >Prev</A |
150 ></TD | |
151 ><TD | |
152 WIDTH="34%" | |
153 ALIGN="center" | |
154 VALIGN="top" | |
155 ><A | |
156 HREF="index.html" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
157 ACCESSKEY="H" |
0 | 158 >Home</A |
159 ></TD | |
160 ><TD | |
161 WIDTH="33%" | |
162 ALIGN="right" | |
163 VALIGN="top" | |
164 ><A | |
165 HREF="guidethebasics.html" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
166 ACCESSKEY="N" |
0 | 167 >Next</A |
168 ></TD | |
169 ></TR | |
170 ><TR | |
171 ><TD | |
172 WIDTH="33%" | |
173 ALIGN="left" | |
174 VALIGN="top" | |
175 >About SDLdoc</TD | |
176 ><TD | |
177 WIDTH="34%" | |
178 ALIGN="center" | |
179 VALIGN="top" | |
180 ><A | |
181 HREF="guidepreface.html" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
182 ACCESSKEY="U" |
0 | 183 >Up</A |
184 ></TD | |
185 ><TD | |
186 WIDTH="33%" | |
187 ALIGN="right" | |
188 VALIGN="top" | |
189 >The Basics</TD | |
190 ></TR | |
191 ></TABLE | |
192 ></DIV | |
193 ></BODY | |
194 ></HTML | |
195 > |