Set orientation to 0 for Emscripten, thus avoiding a segfault.

This commit is contained in:
James Gregory 2013-04-23 19:01:35 -07:00
parent c92d4acbba
commit be26883e2b
1 changed files with 1 additions and 1 deletions

View File

@ -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[] =