diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-10-23 21:38:13 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-10-23 21:38:13 +0000 |
| commit | 0a342e0492ee88b43f63ec3e3a17c463fad2bf09 (patch) | |
| tree | 506a58f4bc50634b2fb481786b2c963007901b8e /macosx/plugins/DFXVideo/macsrc/PluginGLView.m | |
| parent | 0696bb38928d6652bc232055cd413579b352cc35 (diff) | |
| download | pcsxr-0a342e0492ee88b43f63ec3e3a17c463fad2bf09.tar.gz | |
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/PluginGLView.m')
| -rwxr-xr-x | macosx/plugins/DFXVideo/macsrc/PluginGLView.m | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/macosx/plugins/DFXVideo/macsrc/PluginGLView.m b/macosx/plugins/DFXVideo/macsrc/PluginGLView.m index fee2eb54..09375671 100755 --- a/macosx/plugins/DFXVideo/macsrc/PluginGLView.m +++ b/macosx/plugins/DFXVideo/macsrc/PluginGLView.m @@ -309,15 +309,6 @@ void BlitScreen16NS(unsigned char * surf,long x,long y) // Make this context current [[self openGLContext] makeCurrentContext]; - // Loads the shaders - //shader=LoadShader(GL_VERTEX_SHADER,"/Users/alexandremathieu/vertex.c"); - //program=glCreateProgram(); - //glAttachShader(program, shader); - //glLinkProgram(program); - //if(program == 0){ - // printf("Program invalide bourdel\n"); - //} - if (PSXDisplay.Disabled) { glClear(GL_COLOR_BUFFER_BIT); } else { @@ -735,31 +726,6 @@ void BlitScreen16NS(unsigned char * surf,long x,long y) // [self setNeedsDisplay:true]; } } -/* -- (void)mouseDown:(NSEvent *)theEvent -{ - PluginWindowController *controller = [[self window] windowController]; - - static unsigned long lastTime = 0; - unsigned long time; - - time = TickCount(); - - if (lastTime != 0) { - if (time - lastTime > GetDblTime()) { - if (isFullscreen) { - [[self openGLContext] clearDrawable]; - } else { - [[self openGLContext] setFullScreen]; - } - isFullscreen = 1-isFullscreen; - lastTime = 0; - return; - } - } - - lastTime = time; -}*/ - (GLuint)loadShader:(GLenum)type location:(NSURL*)filename { |
