From 09db49da63a87c0b323f1628a5d4d982b79912b1 Mon Sep 17 00:00:00 2001 From: Kathleen Biagas <kathleen.biagas@gmail.com> Date: Wed, 1 May 2013 13:21:11 -0700 Subject: [PATCH] Export vtkgl::LoadExtension and vtkgl::GLVersionExtensionsString. Change-Id: Icdbbab8ba7c00dc739dff43449583ac9ac74d1ba --- Utilities/ParseOGLExt/ParseOGLExt.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Utilities/ParseOGLExt/ParseOGLExt.cxx b/Utilities/ParseOGLExt/ParseOGLExt.cxx index f4e32e5fee6..a4faf7ab2ee 100644 --- a/Utilities/ParseOGLExt/ParseOGLExt.cxx +++ b/Utilities/ParseOGLExt/ParseOGLExt.cxx @@ -690,10 +690,10 @@ static void WriteCode(ostream &hfile, ostream &cxxfile) ConstantsAlreadyWritten.clear(); WriteClassDeclarationGuts(hfile, Extension::GL); hfile << endl << " // Method to load functions for a particular extension."; - hfile << endl << " int LoadExtension(const char *name, " + hfile << endl << " extern int VTKRENDERINGOPENGL_EXPORT LoadExtension(const char *name, " << "vtkOpenGLExtensionManager *manager);" << endl; hfile << endl << " // Strings containing special version extensions."; - hfile << endl << " const char *GLVersionExtensionsString();" << endl; + hfile << endl << " extern VTKRENDERINGOPENGL_EXPORT const char *GLVersionExtensionsString();" << endl; hfile << endl << " const char *GLXVersionExtensionsString();" << endl; hfile << "}" << endl; Extension::WriteSupportWrapperEnd(hfile, Extension::GL); -- GitLab