Mercurial > sdl-ios-xcode
annotate TODO @ 2723:911db724ea24
Couriersud fixed bug #603
Using the following sequence
SDL_Init(..:)
SDL_CreateWindow(..., SDL_WINDOW_OPENGL)
SDL_DestroyWindow
SDL_CreateWindow(..., SDL_WINDOW_OPENGL)
SDL will crash in X11_GL_GetVisual. This is due to the fact that
during SDL_DestroyWindow X11_GL_Shutdown was called because the last window
has been closed.
On the next call to SDL_CreateWindow the library is still loaded and only the
memory is reinitialized. Function pointers such as gl_data->glXChooseVisual
will not be reinitialized.
Consequently, SDL will crash due to a NULL pointer access.
The attached patch corrects the behaviour.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 26 Aug 2008 02:47:26 +0000 |
parents | 3458c74b5fab |
children | 6f260584df22 |
rev | line source |
---|---|
0 | 1 |
2 Wish list for the 1.3 development branch: | |
1534
f02e673ffc5f
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
1441
diff
changeset
|
3 http://bugzilla.libsdl.org/ |
0 | 4 |
1895
c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents:
1621
diff
changeset
|
5 * Add a way to register custom events |
c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents:
1621
diff
changeset
|
6 * Add internal support for adding video modes and refresh rates |
c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents:
1621
diff
changeset
|
7 * Support querying and setting refresh rate with video modes |
0 | 8 * Add mousewheel events (new unified event architecture?) |
9 * DirectInput joystick support needs to be implemented | |
10 * Be able to enumerate and select available audio and video drivers | |
1621 | 11 * Fullscreen video mode support for Mac OS X |
0 | 12 * Explicit vertical retrace wait (maybe separate from SDL_Flip?) |
13 * Shaped windows, windows without borders | |
14 * Multiple windows, multiple display support | |
15 * SDL_INIT_EVENTTHREAD on Windows and MacOS? | |
16 * Add a timestamp to events | |
17 * Add audio input API | |
2
836aaee3f39e
*** empty log message ***
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
18 * Add hardware accelerated scaled blit |
836aaee3f39e
*** empty log message ***
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
19 * Add hardware accelerated alpha blits |
836aaee3f39e
*** empty log message ***
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
20 * Redesign blitting architecture to allow blit plugins |
2330
3458c74b5fab
So we don't forget to do this...
Sam Lantinga <slouken@libsdl.org>
parents:
1895
diff
changeset
|
21 * Add modifier state to key and button events |
0 | 22 |
23 In the jump from 1.2 to 1.3, we should change the SDL_Rect members to | |
24 int and evaluate all the rest of the datatypes. This is the only place | |
25 we should do it though, since the 1.2 series should not break binary | |
26 compatibility in this way. | |
150 | 27 |
28 Requests: | |
29 * PCM and CDROM volume control (deprecated, but possible) |