File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,19 @@ class ofApp: public ofxUnitTestsApp{
14
14
ofxTest (img.load (" https://avatars.githubusercontent.com/u/48240?v=4" ), " load from https" );
15
15
16
16
}
17
+
17
18
};
18
19
19
20
// ========================================================================
20
21
int main ( ){
21
22
ofInit ();
22
- auto window = std::make_shared<ofAppNoWindow>();
23
+
24
+ ofGLWindowSettings settings;
25
+ settings.setSize (1200 , 600 );
26
+ settings.windowMode = OF_WINDOW; // can also be OF_FULLSCREEN
27
+
28
+ auto window = ofCreateWindow (settings);
29
+ // auto window = std::make_shared<ofAppNoWindow>(); // cant be no window doing GL stuff or bug
23
30
auto app = std::make_shared<ofApp>();
24
31
// this kicks off the running of my app
25
32
// can be OF_WINDOW or OF_FULLSCREEN
You can’t perform that action at this time.
0 commit comments