From e3a71200bfc33dcd1ff031043700654df6a4b507 Mon Sep 17 00:00:00 2001 From: Jason Van Cleave Date: Sun, 28 Oct 2018 09:48:57 -0400 Subject: [PATCH] Revert "Update main.cpp (#6150)" (#6160) This reverts commit b2a835170f72b0286d6e5ef070adbb2f4ab8105b. --- .../gles/customEGLWindowSettingsExample/src/main.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/gles/customEGLWindowSettingsExample/src/main.cpp b/examples/gles/customEGLWindowSettingsExample/src/main.cpp index 281d8f849ce..cae588203f6 100644 --- a/examples/gles/customEGLWindowSettingsExample/src/main.cpp +++ b/examples/gles/customEGLWindowSettingsExample/src/main.cpp @@ -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