[Scummvm-cvs-logs] SF.net SVN: scummvm:[52025] scummvm/branches/gsoc2010-opengl/backends/ graphics/opengl/opengl-graphics.cpp

vgvgf at users.sourceforge.net vgvgf at users.sourceforge.net
Thu Aug 12 06:12:38 CEST 2010


Revision: 52025
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52025&view=rev
Author:   vgvgf
Date:     2010-08-12 04:12:37 +0000 (Thu, 12 Aug 2010)

Log Message:
-----------
OPENGL: Fix problem when switching between SDL and OpenGL Graphics Managers.

Modified Paths:
--------------
    scummvm/branches/gsoc2010-opengl/backends/graphics/opengl/opengl-graphics.cpp

Modified: scummvm/branches/gsoc2010-opengl/backends/graphics/opengl/opengl-graphics.cpp
===================================================================
--- scummvm/branches/gsoc2010-opengl/backends/graphics/opengl/opengl-graphics.cpp	2010-08-12 03:58:50 UTC (rev 52024)
+++ scummvm/branches/gsoc2010-opengl/backends/graphics/opengl/opengl-graphics.cpp	2010-08-12 04:12:37 UTC (rev 52025)
@@ -43,7 +43,7 @@
 	_desiredAspectRatio(kAspectRatio4_3),
 #endif
 	_gameTexture(0), _overlayTexture(0), _cursorTexture(0),
-	_screenChangeCount(0), _screenNeedsRedraw(false),
+	_screenChangeCount(1 << (sizeof(int) * 8 - 2)), _screenNeedsRedraw(false),
 	_shakePos(0),
 	_overlayVisible(false), _overlayNeedsRedraw(false),
 	_transactionMode(kTransactionNone),


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list