Use the right function pointer. :)
authorRyan C. Gordon <icculus@icculus.org>
Fri, 14 Sep 2012 11:09:13 -0400
changeset 6425 60c08d8896e0
parent 6424 bfaafcf78560
child 6426 38ed71d9ae5f
Use the right function pointer. :)
src/video/cocoa/SDL_cocoavideo.m
--- a/src/video/cocoa/SDL_cocoavideo.m	Fri Sep 14 11:07:47 2012 -0400
+++ b/src/video/cocoa/SDL_cocoavideo.m	Fri Sep 14 11:09:13 2012 -0400
@@ -100,7 +100,7 @@
     device->MaximizeWindow = Cocoa_MaximizeWindow;
     device->MinimizeWindow = Cocoa_MinimizeWindow;
     device->RestoreWindow = Cocoa_RestoreWindow;
-    device->SetWindowFullscreen = Cocoa_SetWindowBordered;
+    device->SetWindowBordered = Cocoa_SetWindowBordered;
     device->SetWindowFullscreen = Cocoa_SetWindowFullscreen;
     device->SetWindowGammaRamp = Cocoa_SetWindowGammaRamp;
     device->GetWindowGammaRamp = Cocoa_GetWindowGammaRamp;