summaryrefslogtreecommitdiff
path: root/src/drivers/Cocoa
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-10-31 16:52:59 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-10-31 16:52:59 +0100
commit0e41ca820de73f01dabe101ecc2fce5d8dcd4abd (patch)
treeeb9299b3a8889ef0db67f3b665bf9078b5f9f0ea /src/drivers/Cocoa
parenteb759cb118fbf09da51938c04978e609822dbb48 (diff)
Remove 81615bb causing GL window to blink when resizing on macOS (#813)
Diffstat (limited to 'src/drivers/Cocoa')
-rw-r--r--src/drivers/Cocoa/Fl_Cocoa_Gl_Window_Driver.mm2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/drivers/Cocoa/Fl_Cocoa_Gl_Window_Driver.mm b/src/drivers/Cocoa/Fl_Cocoa_Gl_Window_Driver.mm
index dcf7cab44..a2c8e7578 100644
--- a/src/drivers/Cocoa/Fl_Cocoa_Gl_Window_Driver.mm
+++ b/src/drivers/Cocoa/Fl_Cocoa_Gl_Window_Driver.mm
@@ -358,10 +358,8 @@ char Fl_Cocoa_Gl_Window_Driver::swap_type() {return copy;}
void Fl_Cocoa_Gl_Window_Driver::resize(int is_a_resize, int w, int h) {
if (pWindow->shown()) apply_scissor();
[(NSOpenGLContext*)pWindow->context() update];
- [(NSOpenGLContext*)pWindow->context() flushBuffer];
if (gl1ctxt) {
[gl1ctxt update];
- [gl1ctxt flushBuffer];
}
}