#define GL_GetProcAddress( x ) wglGetProcAddress( (const LPCSTR)x )
#endif
-bool InitializeEXT()
+bool GLViewer_InitializeEXT()
{
vglGenFramebuffersEXT = (PFNGLGENFRAMEBUFFERSEXTPROC)GL_GetProcAddress( "glGenFramebuffersEXT" );
vglBindFramebufferEXT = (PFNGLBINDFRAMEBUFFEREXTPROC)GL_GetProcAddress( "glBindFramebufferEXT" );
bool GLViewer_FrameBuffer::init( const GLsizei& xSize, const GLsizei& ySize )
{
- myIsInitializeEXT = InitializeEXT();
+ myIsInitializeEXT = GLViewer_InitializeEXT();
char* ext = (char*)glGetString( GL_EXTENSIONS );
if( !myIsInitializeEXT || strstr( ext, "GL_EXT_framebuffer_object" ) == NULL )
return false;
#define GL_GetProcAddress( x ) wglGetProcAddress( (const LPCSTR)x )
#endif
-bool InitializeEXT()
+bool SVTK_InitializeEXT()
{
vglGenFramebuffersEXT = (PFNGLGENFRAMEBUFFERSEXTPROC)GL_GetProcAddress( "glGenFramebuffersEXT" );
vglBindFramebufferEXT = (PFNGLBINDFRAMEBUFFEREXTPROC)GL_GetProcAddress( "glBindFramebufferEXT" );
return ok;
}
-static bool IsEXTInitialized = InitializeEXT();
+static bool IsEXTInitialized = SVTK_InitializeEXT();
SVTK_FrameBuffer::SVTK_FrameBuffer()
: textureId( 0 ),