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:
albertzeyer
2009-07-21 22:45:00 +00:00
parent 917af3627a
commit 33ea8ab2ad
4 changed files with 1531 additions and 1520 deletions
+3 -2
View File
@@ -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();