diff options
Diffstat (limited to 'macosx/plugins/DFXVideo/macsrc')
| -rw-r--r-- | macosx/plugins/DFXVideo/macsrc/PluginWindowController.h | 2 | ||||
| -rw-r--r-- | macosx/plugins/DFXVideo/macsrc/PluginWindowController.m | 6 | ||||
| -rw-r--r-- | macosx/plugins/DFXVideo/macsrc/drawgl.m | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/macosx/plugins/DFXVideo/macsrc/PluginWindowController.h b/macosx/plugins/DFXVideo/macsrc/PluginWindowController.h index d88bd867..b8eccf4a 100644 --- a/macosx/plugins/DFXVideo/macsrc/PluginWindowController.h +++ b/macosx/plugins/DFXVideo/macsrc/PluginWindowController.h @@ -34,7 +34,7 @@ extern PluginWindowController *gameController; } + (id)openGameView; -- (PluginGLView *)getOpenGLView; +- (PluginGLView *)openGLView; - (BOOL)fullscreen; - (void)setFullscreen:(BOOL)flag; diff --git a/macosx/plugins/DFXVideo/macsrc/PluginWindowController.m b/macosx/plugins/DFXVideo/macsrc/PluginWindowController.m index 48262e56..7bfa656f 100644 --- a/macosx/plugins/DFXVideo/macsrc/PluginWindowController.m +++ b/macosx/plugins/DFXVideo/macsrc/PluginWindowController.m @@ -46,7 +46,7 @@ NSRect windowFrame; [gameWindow makeKeyAndOrderFront:nil]; [gameController showWindow:nil]; - CGDirectDisplayID display = (CGDirectDisplayID)[[[[gameWindow screen] deviceDescription] objectForKey:@"NSScreenNumber"] longValue]; + CGDirectDisplayID display = (CGDirectDisplayID)[[[[gameWindow screen] deviceDescription] objectForKey:@"NSScreenNumber"] unsignedIntValue]; if (CGDisplayIsCaptured(display)) { [gameController setFullscreen:YES]; } @@ -54,7 +54,7 @@ NSRect windowFrame; return gameController; } -- (PluginGLView *)getOpenGLView +- (PluginGLView *)openGLView { return (PluginGLView *)glView; } @@ -94,7 +94,7 @@ NSRect windowFrame; { NSWindow *window = [self window]; NSScreen *screen = [window screen]; - CGDirectDisplayID display = (CGDirectDisplayID)[[[screen deviceDescription] objectForKey:@"NSScreenNumber"] longValue]; + CGDirectDisplayID display = (CGDirectDisplayID)[[[screen deviceDescription] objectForKey:@"NSScreenNumber"] unsignedIntValue]; NSDisableScreenUpdates(); diff --git a/macosx/plugins/DFXVideo/macsrc/drawgl.m b/macosx/plugins/DFXVideo/macsrc/drawgl.m index 81f5f32e..18d3762a 100644 --- a/macosx/plugins/DFXVideo/macsrc/drawgl.m +++ b/macosx/plugins/DFXVideo/macsrc/drawgl.m @@ -114,7 +114,7 @@ unsigned long ulInitDisplay(void) // OPEN GAME WINDOW } PluginWindowController *windowController = [PluginWindowController openGameView]; - glView = [windowController getOpenGLView]; + glView = [windowController openGLView]; NSString *title = [NSString stringWithCString:pCaptionText encoding:NSUTF8StringEncoding]; [[windowController window] setTitle:title]; |
