From 50ee3bcd66c4baa6bb3388f5b955d726bfc6bdd8 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 11 Feb 2016 12:02:36 +0000 Subject: Mark places that need to be refactored with // PORTME: Searching for __APPLE, WIN32 or X11 did give me many false results. I instead marked most ifdef's that I would like to get rid of with the text // PORTME:, so they can be easily found by a global search. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11155 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Double_Window.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Fl_Double_Window.cxx') diff --git a/src/Fl_Double_Window.cxx b/src/Fl_Double_Window.cxx index c8e0dabcc..7add48df0 100644 --- a/src/Fl_Double_Window.cxx +++ b/src/Fl_Double_Window.cxx @@ -137,7 +137,7 @@ void Fl_Double_Window::flush(int eraseoverlay) { #if defined(USE_X11) || defined(WIN32) myi->other_xid = fl_create_offscreen(w(), h()); clear_damage(FL_DAMAGE_ALL); -#elif defined(__APPLE_QUARTZ__) +#elif defined(__APPLE_QUARTZ__) // PORTME: platform double buffering if (force_doublebuffering_) { myi->other_xid = fl_create_offscreen(w(), h()); clear_damage(FL_DAMAGE_ALL); @@ -187,7 +187,7 @@ void Fl_Double_Window::flush(int eraseoverlay) { //# if defined(FLTK_USE_CAIRO) //if Fl::cairo_autolink_context() Fl::cairo_make_current(this); // capture gc changes automatically to update the cairo context adequately //# endif -#elif defined(__APPLE__) +#elif defined(__APPLE__) // PORTME: platform double buffering if ( myi->other_xid ) { fl_begin_offscreen( myi->other_xid ); fl_clip_region( 0 ); -- cgit v1.2.3