[Fuse-for-macosx-commits] SF.net SVN: fuse-for-macosx: [407] trunk/fuse/fusepb/views/ DisplayOpenGL
Brought to you by:
fredm
|
From: <fr...@us...> - 2007-06-30 12:41:48
|
Revision: 407
http://svn.sourceforge.net/fuse-for-macosx/?rev=407&view=rev
Author: fredm
Date: 2007-06-30 05:41:50 -0700 (Sat, 30 Jun 2007)
Log Message:
-----------
Must refresh display on resize or switch to/from fullscreen.
Modified Paths:
--------------
trunk/fuse/fusepb/views/DisplayOpenGLView.m
Modified: trunk/fuse/fusepb/views/DisplayOpenGLView.m
===================================================================
--- trunk/fuse/fusepb/views/DisplayOpenGLView.m 2007-06-29 13:16:48 UTC (rev 406)
+++ trunk/fuse/fusepb/views/DisplayOpenGLView.m 2007-06-30 12:41:50 UTC (rev 407)
@@ -144,6 +144,8 @@
if( !ui_mouse_grabbed ) ui_mouse_grabbed = ui_mouse_grab( 0 );
}
}
+
+ statusbar_updated = YES;
}
-(IBAction) zoom:(id)sender
@@ -533,7 +535,7 @@
glMatrixMode( GL_MODELVIEW );
glLoadIdentity();
- [self setNeedsDisplay:YES];
+ statusbar_updated = YES;
}
/* scrolled, moved or resized */
@@ -556,7 +558,7 @@
glMatrixMode( GL_MODELVIEW );
glLoadIdentity();
- [self setNeedsDisplay:YES];
+ statusbar_updated = YES;
}
-(void) destroyTexture
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|