Skip to content

Commit

Permalink
Update main.cpp (#6037)
Browse files Browse the repository at this point in the history
ofGLFWWindowSettings size param fixed
  • Loading branch information
thejanzimmermann authored and ofTheo committed Oct 11, 2019
1 parent 63411db commit b5a45ef
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions apps/devApps/explicitRendererExample/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@
int main( ){
ofGLFWWindowSettings settings;

settings.width = 600;
settings.height = 600;
settings.setSize(600, 600);
settings.setPosition(ofVec2f(300,0));
settings.resizable = true;
settings.numSamples = 8;
shared_ptr<ofAppBaseWindow> mainWindow = ofCreateWindow(settings);

settings.width = 300;
settings.height = 300;

settings.setSize(300, 300);
settings.setPosition(ofVec2f(0,0));
settings.resizable = false;
settings.numSamples = 4;
Expand Down

0 comments on commit b5a45ef

Please sign in to comment.