small fixes
git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@74 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
+3
-2
@@ -5,6 +5,7 @@
|
||||
* Author: gerstrong
|
||||
*/
|
||||
#include "COpenGL.h"
|
||||
#include "CVideoDriver.h"
|
||||
#include "../CLogFile.h"
|
||||
|
||||
#define GAME_STD_WIDTH 320
|
||||
@@ -115,7 +116,7 @@ void COpenGL::render(void)
|
||||
//Clear the screen
|
||||
glClear(GL_COLOR_BUFFER_BIT); // Clear The Screen
|
||||
|
||||
SDL_LockSurface(m_blitsurface);
|
||||
LockSurface(m_blitsurface);
|
||||
|
||||
if(m_ScaleX == 2) //Scale 2x
|
||||
{
|
||||
@@ -157,7 +158,7 @@ void COpenGL::render(void)
|
||||
glVertex3f (0.0, 1.0, 0.0);
|
||||
glEnd();
|
||||
|
||||
SDL_UnlockSurface(m_blitsurface);
|
||||
UnlockSurface(m_blitsurface);
|
||||
|
||||
// Reset (Position?)
|
||||
glLoadIdentity();
|
||||
|
||||
Reference in New Issue
Block a user