mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 22:00:05 +00:00
prevent crash when using --opengl2 option in ExampleBrowser.
This commit is contained in:
parent
4094b9f0df
commit
e47c74ce0b
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user