prevent crash when using --opengl2 option in ExampleBrowser.

This commit is contained in:
Erwin Coumans 2016-08-29 11:48:31 -07:00
parent 4094b9f0df
commit e47c74ce0b

View File

@ -893,7 +893,6 @@ bool OpenGLExampleBrowser::init(int argc, char* argv[])
GL3TexLoader* myTexLoader = new GL3TexLoader; GL3TexLoader* myTexLoader = new GL3TexLoader;
m_internalData->m_myTexLoader = myTexLoader; m_internalData->m_myTexLoader = myTexLoader;
sth_stash* fontstash = simpleApp->getFontStash();
if (sUseOpenGL2) if (sUseOpenGL2)
{ {