[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58103] branches/ge_dev/source/gameengine/ GamePlayer/ghost/GPG_Canvas.cpp: BGE cleanup: Getting rid of an unused variable warning in GPG_Canvas::Init().
Mitchell Stokes
mogurijin at gmail.com
Tue Jul 9 03:42:16 CEST 2013
Revision: 58103
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58103
Author: moguri
Date: 2013-07-09 01:42:13 +0000 (Tue, 09 Jul 2013)
Log Message:
-----------
BGE cleanup: Getting rid of an unused variable warning in GPG_Canvas::Init().
Modified Paths:
--------------
branches/ge_dev/source/gameengine/GamePlayer/ghost/GPG_Canvas.cpp
Modified: branches/ge_dev/source/gameengine/GamePlayer/ghost/GPG_Canvas.cpp
===================================================================
--- branches/ge_dev/source/gameengine/GamePlayer/ghost/GPG_Canvas.cpp 2013-07-09 01:34:23 UTC (rev 58102)
+++ branches/ge_dev/source/gameengine/GamePlayer/ghost/GPG_Canvas.cpp 2013-07-09 01:42:13 UTC (rev 58103)
@@ -55,9 +55,8 @@
{
if (m_window)
{
- GHOST_TSuccess success;
- success = m_window->setDrawingContextType(GHOST_kDrawingContextTypeOpenGL);
- assert(success == GHOST_kSuccess);
+ m_window->setDrawingContextType(GHOST_kDrawingContextTypeOpenGL);
+ assert(m_window->getDrawingContextType() == GHOST_kDrawingContextTypeOpenGL);
}
}
More information about the Bf-blender-cvs
mailing list