X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fversion_1_2.cpp;fp=source%2Fversion_1_2.cpp;h=0000000000000000000000000000000000000000;hb=6afbace895a7bbcf216ab8e48280ea0303ab5892;hp=9fed2834bc304af70eaf3910524e30ca0710f7dc;hpb=485315ca65cb40f33253008a79b0933997bd74f5;p=libs%2Fgl.git diff --git a/source/version_1_2.cpp b/source/version_1_2.cpp deleted file mode 100644 index 9fed2834..00000000 --- a/source/version_1_2.cpp +++ /dev/null @@ -1,89 +0,0 @@ -#include "extension.h" -#include "version_1_2.h" - -namespace Msp { -namespace GL { - -PFNGLBLENDCOLORPROC glBlendColor = 0; -PFNGLBLENDEQUATIONPROC glBlendEquation = 0; -PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements = 0; -PFNGLCOLORTABLEPROC glColorTable = 0; -PFNGLCOLORTABLEPARAMETERFVPROC glColorTableParameterfv = 0; -PFNGLCOLORTABLEPARAMETERIVPROC glColorTableParameteriv = 0; -PFNGLCOPYCOLORTABLEPROC glCopyColorTable = 0; -PFNGLGETCOLORTABLEPROC glGetColorTable = 0; -PFNGLGETCOLORTABLEPARAMETERFVPROC glGetColorTableParameterfv = 0; -PFNGLGETCOLORTABLEPARAMETERIVPROC glGetColorTableParameteriv = 0; -PFNGLCOLORSUBTABLEPROC glColorSubTable = 0; -PFNGLCOPYCOLORSUBTABLEPROC glCopyColorSubTable = 0; -PFNGLCONVOLUTIONFILTER1DPROC glConvolutionFilter1D = 0; -PFNGLCONVOLUTIONFILTER2DPROC glConvolutionFilter2D = 0; -PFNGLCONVOLUTIONPARAMETERFPROC glConvolutionParameterf = 0; -PFNGLCONVOLUTIONPARAMETERFVPROC glConvolutionParameterfv = 0; -PFNGLCONVOLUTIONPARAMETERIPROC glConvolutionParameteri = 0; -PFNGLCONVOLUTIONPARAMETERIVPROC glConvolutionParameteriv = 0; -PFNGLCOPYCONVOLUTIONFILTER1DPROC glCopyConvolutionFilter1D = 0; -PFNGLCOPYCONVOLUTIONFILTER2DPROC glCopyConvolutionFilter2D = 0; -PFNGLGETCONVOLUTIONFILTERPROC glGetConvolutionFilter = 0; -PFNGLGETCONVOLUTIONPARAMETERFVPROC glGetConvolutionParameterfv = 0; -PFNGLGETCONVOLUTIONPARAMETERIVPROC glGetConvolutionParameteriv = 0; -PFNGLGETSEPARABLEFILTERPROC glGetSeparableFilter = 0; -PFNGLSEPARABLEFILTER2DPROC glSeparableFilter2D = 0; -PFNGLGETHISTOGRAMPROC glGetHistogram = 0; -PFNGLGETHISTOGRAMPARAMETERFVPROC glGetHistogramParameterfv = 0; -PFNGLGETHISTOGRAMPARAMETERIVPROC glGetHistogramParameteriv = 0; -PFNGLGETMINMAXPROC glGetMinmax = 0; -PFNGLGETMINMAXPARAMETERFVPROC glGetMinmaxParameterfv = 0; -PFNGLGETMINMAXPARAMETERIVPROC glGetMinmaxParameteriv = 0; -PFNGLHISTOGRAMPROC glHistogram = 0; -PFNGLMINMAXPROC glMinmax = 0; -PFNGLRESETHISTOGRAMPROC glResetHistogram = 0; -PFNGLRESETMINMAXPROC glResetMinmax = 0; -PFNGLTEXIMAGE3DPROC glTexImage3D = 0; -PFNGLTEXSUBIMAGE3DPROC glTexSubImage3D = 0; -PFNGLCOPYTEXSUBIMAGE3DPROC glCopyTexSubImage3D = 0; - -void init_version_1_2() -{ - glBlendColor = reinterpret_cast(get_proc_address("glBlendColor")); - glBlendEquation = reinterpret_cast(get_proc_address("glBlendEquation")); - glDrawRangeElements = reinterpret_cast(get_proc_address("glDrawRangeElements")); - glColorTable = reinterpret_cast(get_proc_address("glColorTable")); - glColorTableParameterfv = reinterpret_cast(get_proc_address("glColorTableParameterfv")); - glColorTableParameteriv = reinterpret_cast(get_proc_address("glColorTableParameteriv")); - glCopyColorTable = reinterpret_cast(get_proc_address("glCopyColorTable")); - glGetColorTable = reinterpret_cast(get_proc_address("glGetColorTable")); - glGetColorTableParameterfv = reinterpret_cast(get_proc_address("glGetColorTableParameterfv")); - glGetColorTableParameteriv = reinterpret_cast(get_proc_address("glGetColorTableParameteriv")); - glColorSubTable = reinterpret_cast(get_proc_address("glColorSubTable")); - glCopyColorSubTable = reinterpret_cast(get_proc_address("glCopyColorSubTable")); - glConvolutionFilter1D = reinterpret_cast(get_proc_address("glConvolutionFilter1D")); - glConvolutionFilter2D = reinterpret_cast(get_proc_address("glConvolutionFilter2D")); - glConvolutionParameterf = reinterpret_cast(get_proc_address("glConvolutionParameterf")); - glConvolutionParameterfv = reinterpret_cast(get_proc_address("glConvolutionParameterfv")); - glConvolutionParameteri = reinterpret_cast(get_proc_address("glConvolutionParameteri")); - glConvolutionParameteriv = reinterpret_cast(get_proc_address("glConvolutionParameteriv")); - glCopyConvolutionFilter1D = reinterpret_cast(get_proc_address("glCopyConvolutionFilter1D")); - glCopyConvolutionFilter2D = reinterpret_cast(get_proc_address("glCopyConvolutionFilter2D")); - glGetConvolutionFilter = reinterpret_cast(get_proc_address("glGetConvolutionFilter")); - glGetConvolutionParameterfv = reinterpret_cast(get_proc_address("glGetConvolutionParameterfv")); - glGetConvolutionParameteriv = reinterpret_cast(get_proc_address("glGetConvolutionParameteriv")); - glGetSeparableFilter = reinterpret_cast(get_proc_address("glGetSeparableFilter")); - glSeparableFilter2D = reinterpret_cast(get_proc_address("glSeparableFilter2D")); - glGetHistogram = reinterpret_cast(get_proc_address("glGetHistogram")); - glGetHistogramParameterfv = reinterpret_cast(get_proc_address("glGetHistogramParameterfv")); - glGetHistogramParameteriv = reinterpret_cast(get_proc_address("glGetHistogramParameteriv")); - glGetMinmax = reinterpret_cast(get_proc_address("glGetMinmax")); - glGetMinmaxParameterfv = reinterpret_cast(get_proc_address("glGetMinmaxParameterfv")); - glGetMinmaxParameteriv = reinterpret_cast(get_proc_address("glGetMinmaxParameteriv")); - glHistogram = reinterpret_cast(get_proc_address("glHistogram")); - glMinmax = reinterpret_cast(get_proc_address("glMinmax")); - glResetHistogram = reinterpret_cast(get_proc_address("glResetHistogram")); - glResetMinmax = reinterpret_cast(get_proc_address("glResetMinmax")); - glTexImage3D = reinterpret_cast(get_proc_address("glTexImage3D")); - glTexSubImage3D = reinterpret_cast(get_proc_address("glTexSubImage3D")); - glCopyTexSubImage3D = reinterpret_cast(get_proc_address("glCopyTexSubImage3D")); -} - -} // namespace GL -} // namespace Msp