mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-13 21:30:09 +00:00
re-enable enter key in example browser
This commit is contained in:
parent
b316f30040
commit
250068d5eb
Binary file not shown.
@ -528,6 +528,11 @@ bool GwenUserInterface::keyboardCallback(int bulletKey, int state)
|
||||
//convert 'Bullet' keys into 'Gwen' keys
|
||||
switch (bulletKey)
|
||||
{
|
||||
case B3G_RETURN:
|
||||
{
|
||||
gwenKey = Gwen::Key::Return;
|
||||
break;
|
||||
}
|
||||
case B3G_LEFT_ARROW:
|
||||
{
|
||||
gwenKey = Gwen::Key::Left;
|
||||
|
@ -360,16 +360,10 @@ static void saveCurrentSettings(int currentEntry,const char* startFileName)
|
||||
if (enable_experimental_opencl)
|
||||
{
|
||||
fprintf(f,"--enable_experimental_opencl\n");
|
||||
} else
|
||||
{
|
||||
fprintf(f,"//enable_experimental_opencl\n");
|
||||
}
|
||||
if (sUseOpenGL2 )
|
||||
{
|
||||
fprintf(f,"--opengl2\n");
|
||||
} else
|
||||
{
|
||||
fprintf(f,"//opengl2\n");
|
||||
}
|
||||
|
||||
fclose(f);
|
||||
@ -926,13 +920,8 @@ bool OpenGLExampleBrowser::requestedExit()
|
||||
|
||||
void OpenGLExampleBrowser::update(float deltaTime)
|
||||
{
|
||||
/* if (sCurrentDemo)
|
||||
{
|
||||
sCurrentDemo->stepSimulation(deltaTime);
|
||||
}
|
||||
*/
|
||||
|
||||
assert(glGetError()==GL_NO_ERROR);
|
||||
assert(glGetError()==GL_NO_ERROR);
|
||||
s_instancingRenderer->init();
|
||||
DrawGridData dg;
|
||||
dg.upAxis = s_app->getUpAxis();
|
||||
|
Loading…
Reference in New Issue
Block a user