diff options
Diffstat (limited to 'macosx/plugins/PeopsXgl/macsrc/PluginGLView.m')
| -rw-r--r-- | macosx/plugins/PeopsXgl/macsrc/PluginGLView.m | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/macosx/plugins/PeopsXgl/macsrc/PluginGLView.m b/macosx/plugins/PeopsXgl/macsrc/PluginGLView.m index feb483a9..483a72d3 100644 --- a/macosx/plugins/PeopsXgl/macsrc/PluginGLView.m +++ b/macosx/plugins/PeopsXgl/macsrc/PluginGLView.m @@ -129,7 +129,19 @@ // actually not much to do here. [[self openGLContext] flushBuffer]; return; - } +} +// don't know what this does, pasted it in from PeopsSoftGPU's PluginGLView because something was calling it +- (void)clearBuffer:(BOOL)display +{ + if (display == NO) { + //[[self openGLContext] makeCurrentContext]; + //glClear(GL_COLOR_BUFFER_BIT); + //[self loadTextures:NO]; + } else { + noDisplay = YES; + // [self setNeedsDisplay:true]; + } +} @end |
