summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFXVideo/macsrc/PluginWindowController.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-10-23 21:38:13 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-10-23 21:38:13 +0000
commit0a342e0492ee88b43f63ec3e3a17c463fad2bf09 (patch)
tree506a58f4bc50634b2fb481786b2c963007901b8e /macosx/plugins/DFXVideo/macsrc/PluginWindowController.m
parent0696bb38928d6652bc232055cd413579b352cc35 (diff)
Implement window size setting for PeopsSoftGL on OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87642 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/plugins/DFXVideo/macsrc/PluginWindowController.m')
-rwxr-xr-xmacosx/plugins/DFXVideo/macsrc/PluginWindowController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/plugins/DFXVideo/macsrc/PluginWindowController.m b/macosx/plugins/DFXVideo/macsrc/PluginWindowController.m
index 0ad6dd74..f0b45280 100755
--- a/macosx/plugins/DFXVideo/macsrc/PluginWindowController.m
+++ b/macosx/plugins/DFXVideo/macsrc/PluginWindowController.m
@@ -35,12 +35,12 @@ NSRect windowFrame;
}
gameWindow = [gameController window];
}
+ windowFrame = NSMakeRect(0, 0, iResX + 8, iResY + 4);
if (windowFrame.size.width != 0) {
[gameWindow setFrame:windowFrame display:NO];
- } else {
- [gameWindow center];
}
+ [gameWindow center];
[gameWindow makeKeyAndOrderFront:nil];
[gameController showWindow:nil];