summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFXVideo/macsrc/PluginGLView.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/plugins/DFXVideo/macsrc/PluginGLView.m')
-rw-r--r--macosx/plugins/DFXVideo/macsrc/PluginGLView.m24
1 files changed, 12 insertions, 12 deletions
diff --git a/macosx/plugins/DFXVideo/macsrc/PluginGLView.m b/macosx/plugins/DFXVideo/macsrc/PluginGLView.m
index 1836ebcd..662b8ebc 100644
--- a/macosx/plugins/DFXVideo/macsrc/PluginGLView.m
+++ b/macosx/plugins/DFXVideo/macsrc/PluginGLView.m
@@ -237,18 +237,18 @@ void BlitScreen16NS(unsigned char * surf,long x,long y)
{
// Check if an update has occured to the buffer
if ([self lockFocusIfCanDraw]) {
-
- // Make this context current
- if (drawBG) {
- [[NSColor blackColor] setFill];
- [NSBezierPath fillRect:[self visibleRect]];
- }
-
- //glFinish() ;
- // Swap buffer to screen
- //[[self openGLContext] flushBuffer];
-
- [self unlockFocus];
+
+ // Make this context current
+ if (drawBG) {
+ [[NSColor blackColor] setFill];
+ [NSBezierPath fillRect:[self visibleRect]];
+ }
+
+ //glFinish() ;
+ // Swap buffer to screen
+ //[[self openGLContext] flushBuffer];
+
+ [self unlockFocus];
}
}