From 33d0ce63b32b3e823d92536cd4589531d1007bd1 Mon Sep 17 00:00:00 2001 From: mudlord Date: Sat, 31 May 2008 01:43:17 +0000 Subject: [PATCH] Fixed some loose ends in the OpenGL renderer. Now its nice and tidy. Heh. git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@553 a31d4220-a93d-0410-bf67-fe4944624d44 --- src/win32/OpenGL.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/win32/OpenGL.cpp b/src/win32/OpenGL.cpp index decc9c93..021d98bb 100644 --- a/src/win32/OpenGL.cpp +++ b/src/win32/OpenGL.cpp @@ -84,7 +84,6 @@ private: void setVSync( int interval = 1 ); void calculateDestRect( int w, int h ); void initializeFont(); - void renderlist(); public: OpenGLDisplay(); @@ -97,7 +96,6 @@ public: virtual void cleanup(); virtual void clear(); virtual void render(); - virtual bool changeRenderSize( int w, int h ); virtual void resize( int w, int h ); virtual void setOption( const char *, int ); @@ -423,7 +421,7 @@ void OpenGLDisplay::render() glTexSubImage2D(GL_TEXTURE_2D,0,0,0,width,height,GL_RGBA,GL_UNSIGNED_BYTE,data ); - glBegin( GL_QUADS ); + glBegin( GL_QUADS ); glTexCoord2f( 0.0f, 0.0f ); glVertex3i( 0, 0, 0 );