0030748: Visualization - Marker displayed in immediate layer ruins QT Quick view...
[occt.git] / src / OpenGl / OpenGl_ArbFBO.hxx
index 638d0c2..bfac84a 100644 (file)
@@ -33,15 +33,27 @@ struct OpenGl_ArbFBO : protected OpenGl_GlFunctions
   using OpenGl_GlFunctions::glDeleteFramebuffers;
   using OpenGl_GlFunctions::glGenFramebuffers;
   using OpenGl_GlFunctions::glCheckFramebufferStatus;
-  using OpenGl_GlFunctions::glFramebufferTexture1D;
   using OpenGl_GlFunctions::glFramebufferTexture2D;
-  using OpenGl_GlFunctions::glFramebufferTexture3D;
   using OpenGl_GlFunctions::glFramebufferRenderbuffer;
   using OpenGl_GlFunctions::glGetFramebufferAttachmentParameteriv;
   using OpenGl_GlFunctions::glGenerateMipmap;
+
+#if !defined(GL_ES_VERSION_2_0)
   using OpenGl_GlFunctions::glBlitFramebuffer;
-  using OpenGl_GlFunctions::glRenderbufferStorageMultisample;
+  using OpenGl_GlFunctions::glFramebufferTexture1D;
+  using OpenGl_GlFunctions::glFramebufferTexture3D;
   using OpenGl_GlFunctions::glFramebufferTextureLayer;
+  using OpenGl_GlFunctions::glRenderbufferStorageMultisample;
+#endif
+
+};
+
+//! FBO blit is available in OpenGL 3.0+.
+//! Moved out from OpenGl_ArbFBO since it is unavailable in OpenGL ES 2.0.
+struct OpenGl_ArbFBOBlit : protected OpenGl_GlFunctions
+{
+
+  using OpenGl_GlFunctions::glBlitFramebuffer;
 
 };