Skip to content

Commit

Permalink
Revert "Update main.cpp (#6150)" (#6160)
Browse files Browse the repository at this point in the history
This reverts commit b2a8351.
  • Loading branch information
jvcleave authored and arturoc committed Oct 28, 2018
1 parent b2a8351 commit e3a7120
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions examples/gles/customEGLWindowSettingsExample/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@

//========================================================================
int main( ){
ofGLESWindowSettings windowSettings;
windowSettings.setSize(1024, 768);

ofAppEGLWindow::Settings settings(windowSettings);

ofAppEGLWindowSettings settings;

settings.eglWindowOpacity = 127;
settings.frameBufferAttributes[EGL_DEPTH_SIZE] = 0; // 0 bits for depth
settings.frameBufferAttributes[EGL_STENCIL_SIZE] = 0; // 0 bits for stencil

ofCreateWindow(settings); // <-------- setup the GL context
settings.width = 1024;
settings.height = 768;
settings.windowMode = OF_FULLSCREEN;
ofCreateWindow(settings); // <-------- setup the GL context

// this kicks off the running of my app
// can be OF_WINDOW or OF_FULLSCREEN
Expand Down

0 comments on commit e3a7120

Please sign in to comment.