Corrected a mistake in -glprofile argument parsing
parent
5c9bdde587
commit
8414ae794d
|
@ -466,8 +466,11 @@ ParseArgsStatus CApplication::ParseArguments(int argc, char *argv[])
|
|||
m_glProfile = SDL_GL_CONTEXT_PROFILE_ES;
|
||||
m_glProfileOverride = true;
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
GetLogger()->Error("Invalid OpenGL profile: %s\n", optarg);
|
||||
return PARSE_ARGS_FAIL;
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue