Skip to content

Commit 5dbfbe9

Browse files
authored
bugfix macos arm fullscreen crash. closes #6685 (#6691)
#changelog #osx
1 parent 43b3e94 commit 5dbfbe9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

libs/openFrameworks/app/ofAppGLFWWindow.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,6 @@ void ofAppGLFWWindow::setup(const ofGLFWWindowSettings & _settings){
252252
#ifdef TARGET_OSX
253253
//for OS X we need to set this first as the window size affects the window positon
254254
settings.setSize(mode->width, mode->height);
255-
setWindowShape(settings.getWidth(), settings.getHeight());
256255
#endif
257256
setWindowPosition(settings.getPosition().x,settings.getPosition().y);
258257
currentW = mode->width;
@@ -263,7 +262,6 @@ void ofAppGLFWWindow::setup(const ofGLFWWindowSettings & _settings){
263262
#ifdef TARGET_OSX
264263
auto size = getScreenSize();
265264
settings.setSize(size.x, size.y);
266-
setWindowShape(settings.getWidth(), settings.getHeight());
267265
#endif
268266
currentW = settings.getWidth();
269267
currentH = settings.getHeight();

0 commit comments

Comments
 (0)