File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -178,6 +178,7 @@ void ofAppGLFWWindow::setup(const ofGLFWWindowSettings & _settings){
178
178
glfwWindowHint (GLFW_SAMPLES, settings.numSamples );
179
179
glfwWindowHint (GLFW_RESIZABLE, settings.resizable );
180
180
glfwWindowHint (GLFW_DECORATED, settings.decorated );
181
+ glfwWindowHint (GLFW_TRANSPARENT_FRAMEBUFFER, settings.transparent );
181
182
#ifdef TARGET_OPENGLES
182
183
glfwWindowHint (GLFW_CONTEXT_VERSION_MAJOR, settings.glesVersion );
183
184
glfwWindowHint (GLFW_CONTEXT_VERSION_MINOR, 0 );
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ class ofGLFWWindowSettings: public ofGLWindowSettings{
50
50
bool iconified = false ;
51
51
bool decorated = true ;
52
52
bool resizable = true ;
53
+ bool transparent = false ;
53
54
int monitor = 0 ;
54
55
bool multiMonitorFullScreen = false ;
55
56
std::shared_ptr<ofAppBaseWindow> shareContextWith;
You can’t perform that action at this time.
0 commit comments