Mercurial > sdl-ios-xcode
annotate src/main/macosx/SDLMain.h @ 4288:4ab46e81d08e SDL-1.2
Default value for SGI swap control GL attribute should be -1.
Explicitly try to set it if you want a different value. Different glX
implementations appear to have different defaults for this, and you can't
query them for the current value.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sat, 10 Oct 2009 05:17:47 +0000 |
parents | 098dfc876bba |
children |
rev | line source |
---|---|
221
50620ec9c86a
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
194
diff
changeset
|
1 /* SDLMain.m - main entry point for our Cocoa-ized SDL app |
50620ec9c86a
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
194
diff
changeset
|
2 Initial Version: Darrell Walisser <dwaliss1@purdue.edu> |
50620ec9c86a
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
194
diff
changeset
|
3 Non-NIB-Code & other changes: Max Horn <max@quendi.de> |
194
ba9e0fcc2ae2
Oops, back out that SDL_main -> SDLMain conversion
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
4 |
ba9e0fcc2ae2
Oops, back out that SDL_main -> SDLMain conversion
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
5 Feel free to customize this file to suit your needs |
ba9e0fcc2ae2
Oops, back out that SDL_main -> SDLMain conversion
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
6 */ |
ba9e0fcc2ae2
Oops, back out that SDL_main -> SDLMain conversion
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
7 |
4228
098dfc876bba
Added header guards for SDLMain.h
Sam Lantinga <slouken@libsdl.org>
parents:
221
diff
changeset
|
8 #ifndef _SDLMain_h_ |
098dfc876bba
Added header guards for SDLMain.h
Sam Lantinga <slouken@libsdl.org>
parents:
221
diff
changeset
|
9 #define _SDLMain_h_ |
098dfc876bba
Added header guards for SDLMain.h
Sam Lantinga <slouken@libsdl.org>
parents:
221
diff
changeset
|
10 |
194
ba9e0fcc2ae2
Oops, back out that SDL_main -> SDLMain conversion
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
11 #import <Cocoa/Cocoa.h> |
ba9e0fcc2ae2
Oops, back out that SDL_main -> SDLMain conversion
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
12 |
ba9e0fcc2ae2
Oops, back out that SDL_main -> SDLMain conversion
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
13 @interface SDLMain : NSObject |
ba9e0fcc2ae2
Oops, back out that SDL_main -> SDLMain conversion
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
14 @end |
4228
098dfc876bba
Added header guards for SDLMain.h
Sam Lantinga <slouken@libsdl.org>
parents:
221
diff
changeset
|
15 |
098dfc876bba
Added header guards for SDLMain.h
Sam Lantinga <slouken@libsdl.org>
parents:
221
diff
changeset
|
16 #endif /* _SDLMain_h_ */ |