Browse Source

A previous osx fix attempt was wrong, correct it

gh-pages
falkTX 10 years ago
parent
commit
e1c4bbe0a8
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      dgl/src/pugl/pugl_osx_extended.m

+ 4
- 4
dgl/src/pugl/pugl_osx_extended.m View File

@@ -41,11 +41,11 @@ void puglImplSetSize(PuglView* view, unsigned int width, unsigned int height, bo
frame.size.width = width;
frame.size.height = height+20;

if (forced) {
[window setFrame:frame];
} else {
// if (forced) {
// [window setFrame:frame];
// } else {
[window setFrame:frame display:YES animate:NO];
}
// }
}

void puglImplSetTitle(PuglView* view, const char* title)


Loading…
Cancel
Save