diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-10-31 16:52:59 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-10-31 16:52:59 +0100 |
| commit | 0e41ca820de73f01dabe101ecc2fce5d8dcd4abd (patch) | |
| tree | eb9299b3a8889ef0db67f3b665bf9078b5f9f0ea /src/drivers | |
| parent | eb759cb118fbf09da51938c04978e609822dbb48 (diff) | |
Remove 81615bb causing GL window to blink when resizing on macOS (#813)
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/Cocoa/Fl_Cocoa_Gl_Window_Driver.mm | 2 |
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]; } } |
