diff options
| author | Manolo Gouy <Manolo> | 2011-01-03 16:50:34 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-01-03 16:50:34 +0000 |
| commit | 874bca74f55f686ded8f0b3d2df08196911f26f0 (patch) | |
| tree | f1d394945f49314ee4a8706a4b98daf8ec830ce8 /src/Fl_Gl_Window.cxx | |
| parent | bb6392f7ec94ba682ebade1d5b30eba9ff30ceb1 (diff) | |
Mac OS X: removed all uses of Carbon (except for older OS versions) and re-organized
text input around the NSTextInput protocol.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8173 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Gl_Window.cxx')
| -rw-r--r-- | src/Fl_Gl_Window.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx index 0f46b23bb..52bf72bad 100644 --- a/src/Fl_Gl_Window.cxx +++ b/src/Fl_Gl_Window.cxx @@ -277,12 +277,12 @@ void Fl_Gl_Window::flush() { // warning: the Quartz version should probably use Core GL (CGL) instead of AGL //: clear previous clipping in this shared port #if ! __LP64__ - GrafPtr port = GetWindowPort( Fl_X::i(this)->window_ref() ); +/*GrafPtr port = GetWindowPort( Fl_X::i(this)->window_ref() ); Rect rect; SetRect( &rect, 0, 0, 0x7fff, 0x7fff ); GrafPtr old; GetPort( &old ); SetPort( port ); ClipRect( &rect ); - SetPort( old ); + SetPort( old );*/ #endif #endif |
