BGE cleanup: Getting rid of an unused variable warning in GPG_Canvas::Init().
This commit is contained in:
@@ -55,9 +55,8 @@ void GPG_Canvas::Init()
|
|||||||
{
|
{
|
||||||
if (m_window)
|
if (m_window)
|
||||||
{
|
{
|
||||||
GHOST_TSuccess success;
|
m_window->setDrawingContextType(GHOST_kDrawingContextTypeOpenGL);
|
||||||
success = m_window->setDrawingContextType(GHOST_kDrawingContextTypeOpenGL);
|
assert(m_window->getDrawingContextType() == GHOST_kDrawingContextTypeOpenGL);
|
||||||
assert(success == GHOST_kSuccess);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user