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