Skip to content

Commit

Permalink
[player] don't change window size from project properties
Browse files Browse the repository at this point in the history
  • Loading branch information
ar2rsawseen committed May 17, 2015
1 parent ecf685c commit 16d1d88
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions player/Sources/glcanvas.cpp
Expand Up @@ -637,8 +637,9 @@ void GLCanvas::loadProperties(std::vector<char> data){
windowWidth = logicalWidth;
windowHeight = logicalHeight;
}

setWindowSize(windowWidth, windowHeight);
if(exportedApp_){
setWindowSize(windowWidth, windowHeight);
}
}

void GLCanvas::playLoadedFiles(std::vector<std::string> luafiles){
Expand Down

0 comments on commit 16d1d88

Please sign in to comment.