mirror of https://github.com/axmolengine/axmol.git
Set orientation to 0 for Emscripten, thus avoiding a segfault.
This commit is contained in:
parent
c92d4acbba
commit
be26883e2b
|
@ -275,7 +275,7 @@ static EGLenum checkErrorEGL(const char* msg)
|
|||
bool CCEGLView::initGL()
|
||||
{
|
||||
int rc = 0;
|
||||
int angle = atoi(getenv("ORIENTATION"));
|
||||
int angle = 0;
|
||||
|
||||
// Hard-coded to (0,0).
|
||||
int windowPosition[] =
|
||||
|
|
Loading…
Reference in New Issue