diff --git a/Fltk/FlGui.cpp b/Fltk/FlGui.cpp
index a0b5021ccb366b53492049395de08736dcbd8ebd..c771c0c679c0760cf0aa8b7f8ae2d43af44a4a21 100644
--- a/Fltk/FlGui.cpp
+++ b/Fltk/FlGui.cpp
@@ -368,6 +368,8 @@ FlGui::FlGui(int argc, char **argv)
   // use retina resolution if available
 #if (FL_MAJOR_VERSION == 1) && (FL_MINOR_VERSION == 3) && (FL_PATCH_VERSION >= 4)
   Fl::use_high_res_GL(CTX::instance()->highResolutionGraphics);
+#elif (FL_MAJOR_VERSION == 1) && (FL_MINOR_VERSION >= 4)
+  Fl::use_high_res_GL(CTX::instance()->highResolutionGraphics);
 #endif
 
   // register image formats not in core fltk library (jpeg/png)
diff --git a/Fltk/openglWindow.cpp b/Fltk/openglWindow.cpp
index 3bf0f75e60f69ec99035737ae7851ddd961c999a..8c5dd4f0f98ad69fdef1bf09a233fb7835f6da09 100644
--- a/Fltk/openglWindow.cpp
+++ b/Fltk/openglWindow.cpp
@@ -717,6 +717,8 @@ int openglWindow::pixel_w()
 {
 #if (FL_MAJOR_VERSION == 1) && (FL_MINOR_VERSION == 3) && (FL_PATCH_VERSION >= 4)
   return Fl_Gl_Window::pixel_w();
+#elif (FL_MAJOR_VERSION == 1) && (FL_MINOR_VERSION >= 4)
+  return Fl_Gl_Window::pixel_w();
 #else
   return w();
 #endif
@@ -726,6 +728,8 @@ int openglWindow::pixel_h()
 {
 #if (FL_MAJOR_VERSION == 1) && (FL_MINOR_VERSION == 3) && (FL_PATCH_VERSION >= 4)
   return Fl_Gl_Window::pixel_h();
+#elif (FL_MAJOR_VERSION == 1) && (FL_MINOR_VERSION >= 4)
+  return Fl_Gl_Window::pixel_h();
 #else
   return h();
 #endif