GRIM: remove _screenSize usage

This commit is contained in:
Pawel Kolodziejski 2014-07-14 08:03:10 +02:00
parent 017a67b8bc
commit 39e9dcb8aa
5 changed files with 5 additions and 7 deletions

View file

@ -400,7 +400,6 @@ byte *GfxOpenGLS::setupScreen(int screenW, int screenH, bool fullscreen) {
// Load emergency built-in font
loadEmergFont();
_screenSize = _screenWidth * _screenHeight * 4;
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
if (g_grim->getGameType() == GType_MONKEY4) {
// GL_LEQUAL as glDepthFunc ensures that subsequent drawing attempts for