Fix error in Fl_Cocoa_Gl_Window_Driver::make_current_before()
Fl_Gl_Window_Driver::invalidate() instead of Fl_Gl_Window::invalidate() was called. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13091 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
61eb23a9ea
commit
ac60de1a92
@ -557,8 +557,7 @@ void Fl_Cocoa_Gl_Window_Driver::make_current_before() {
|
||||
Fl_Cocoa_Window_Driver *d = Fl_Cocoa_Window_Driver::driver(pWindow);
|
||||
if (d->changed_resolution()){
|
||||
d->changed_resolution(false);
|
||||
invalidate();
|
||||
pWindow->valid(0);
|
||||
pWindow->invalidate();
|
||||
GLcontext_update(pWindow->context());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user