Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Synced with trunk.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbens committed Jul 20, 2008
1 parent 8867662 commit 1595940
Show file tree
Hide file tree
Showing 8 changed files with 897 additions and 2,213 deletions.
3 changes: 3 additions & 0 deletions README.SVN
Expand Up @@ -18,3 +18,6 @@ before running configure.
There is a web interface to the subversion repository at:
http://www.libsdl.org/cgi/viewvc.cgi

There is an RSS feed available at that URL, for those that want to
track commits in real time.

1,565 changes: 716 additions & 849 deletions Xcode/SDL/SDL.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

48 changes: 48 additions & 0 deletions Xcode/SDLTest/Info-testwm2.plist
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>com.yourcompany.testwm2</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
</plist>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>com.yourcompany.testwm2</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
</plist>
1,482 changes: 127 additions & 1,355 deletions Xcode/SDLTest/SDLTest.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions include/SDL_config_macosx.h
Expand Up @@ -122,6 +122,7 @@
/* Enable OpenGL support */
#define SDL_VIDEO_OPENGL 1
#define SDL_VIDEO_OPENGL_CGL 1
#define SDL_VIDEO_RENDER_OGL 1

/* Enable assembly routines */
#define SDL_ASSEMBLY_ROUTINES 1
Expand Down
1 change: 0 additions & 1 deletion src/video/SDL_sysvideo.h
Expand Up @@ -127,7 +127,6 @@ struct SDL_Window

int display;
SDL_Renderer *renderer;
SDL_GLContext context;

void *userdata;
void *driverdata;
Expand Down
6 changes: 0 additions & 6 deletions src/video/SDL_video.c
Expand Up @@ -2525,12 +2525,6 @@ SDL_GL_MakeCurrent(SDL_WindowID windowID, SDL_GLContext context)
if (!context) {
window = NULL;
}
if (window) {
if (window->context == context) {
return 0;
}
window->context = context;
}
return _this->GL_MakeCurrent(_this, window, context);
}

Expand Down
4 changes: 2 additions & 2 deletions src/video/cocoa/SDL_cocoaopengl.m
Expand Up @@ -288,7 +288,7 @@ - (CGLContextObj)CGLContextObj;
{
NSAutoreleasePool *pool;
NSOpenGLContext *nscontext;
long value;
GLint value;
int status;

pool = [[NSAutoreleasePool alloc] init];
Expand All @@ -312,7 +312,7 @@ - (CGLContextObj)CGLContextObj;
{
NSAutoreleasePool *pool;
NSOpenGLContext *nscontext;
long value;
GLint value;
int status;

pool = [[NSAutoreleasePool alloc] init];
Expand Down

0 comments on commit 1595940

Please sign in to comment.