Salome HOME
updated copyright message
[modules/gui.git] / src / OpenGLUtils / OpenGLUtils_FrameBuffer.cxx
old mode 100755 (executable)
new mode 100644 (file)
index 891ae65..663260d
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -24,6 +24,7 @@
 #define GL_GLEXT_PROTOTYPES
 #endif
 
+
 #include "OpenGLUtils_FrameBuffer.h"
 
 #include <utilities.h>
@@ -152,7 +153,7 @@ OpenGLUtils_FrameBuffer::~OpenGLUtils_FrameBuffer()
 
 bool OpenGLUtils_FrameBuffer::init( const GLsizei& xSize, const GLsizei& ySize )
 {
-#ifdef VTK_OPENGL2
+#if defined(VTK_OPENGL2) && ! defined(WIN32)
   int n = 0;
   std::ostringstream strm;
   glGetIntegerv(GL_NUM_EXTENSIONS, &n);