- removed define tags out of COpenGL.*

git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@8 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
gerstrong
2009-06-08 17:19:32 +00:00
parent 8352242dc6
commit 37cbe42b7e
25 changed files with 242 additions and 41 deletions

View File

@@ -20,6 +20,7 @@
CGraphics::CGraphics() {
HQBitmap = NULL;
scrollbuffer=NULL;
blitbuffer=NULL;
scrollbuf_memsize = 0;
blitbuf_memsize = 0;
}
@@ -704,7 +705,7 @@ void CGraphics::loadHQGraphics(unsigned char episode, unsigned char level, char
screen_rect.h = g_pVideoDriver->getHeight();
HQBitmap = new CHQBitmap(screen_rect);
if(!HQBitmap->loadImage(buf2))
if(!HQBitmap->loadImage(buf2, (int) map.xsize, (int) map.ysize))
{
delete HQBitmap;
HQBitmap = NULL;