prevent crash when using --opengl2 option in ExampleBrowser.
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user