-// 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
#define GL_GLEXT_PROTOTYPES
#endif
+
#include "OpenGLUtils_FrameBuffer.h"
#include <utilities.h>
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);