GteGLXExtensions.cpp
Go to the documentation of this file.
1 // David Eberly, Geometric Tools, Redmond WA 98052
2 // Copyright (c) 1998-2017
3 // Distributed under the Boost Software License, Version 1.0.
4 // http://www.boost.org/LICENSE_1_0.txt
5 // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
6 // File Version: 3.0.2 (2016/07/06)
7 
9 #include <GL/glx.h>
10 #include <Graphics/GL4/GL/glxext.h>
11 
12 void* GetOpenGLFunctionPointer(char const* name)
13 {
14  return (void*)(*glXGetProcAddress)((GLubyte const*)name);
15 }
16 
17 //void InitializeGLX()
18 //{
19 //}
20 
21 //template <typename PGLXFunction>
22 //static void GetGLXFunction(char const* name, PGLXFunction& function)
23 //{
24 // function = (PGLXFunction)glXGetProcAddress(name);
25 //}
26 
unsigned char GLubyte
Definition: glcorearb.h:91
GLuint const GLchar * name
Definition: glcorearb.h:781
void * GetOpenGLFunctionPointer(char const *name)


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:00