From 989ece82ecb0bd4c6e25c8a4df3518b96f1f96ae Mon Sep 17 00:00:00 2001 From: Jason Van Cleave Date: Sat, 27 Oct 2018 12:57:21 -0400 Subject: [PATCH] Revert "Update main.cpp (#6150)" 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