annotate src/video/quartz/SDL_QuartzWM.h @ 4143:73e7e7f5b5a1 SDL-1.2

Don't recreate the GL content in windib target if SDL_SetVideoMode() is being called in response to a window resize event...prevents loss of GL state and objects.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 12 Mar 2008 22:01:48 +0000
parents b8f2db95145e
children a1b03ba2fcd0
rev   line source
4070
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1 /*
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2 SDL - Simple DirectMedia Layer
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
3 Copyright (C) 1997-2003 Sam Lantinga
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
4
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
5 This library is free software; you can redistribute it and/or
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
6 modify it under the terms of the GNU Library General Public
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
7 License as published by the Free Software Foundation; either
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
8 version 2 of the License, or (at your option) any later version.
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
9
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
10 This library is distributed in the hope that it will be useful,
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
13 Library General Public License for more details.
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
14
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
15 You should have received a copy of the GNU Library General Public
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
16 License along with this library; if not, write to the Free
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
18
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
19 Sam Lantinga
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
20 slouken@libsdl.org
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
21 */
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
22
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
23 struct WMcursor {
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
24 NSCursor *nscursor;
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
25 };
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
26
b8f2db95145e Patch from Christian Walther
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
27 void QZ_UpdateCursor(_THIS);