]> git.tdb.fi Git - libs/gl.git/blob - source/arb_vertex_shader.cpp
Adapt exporter to Blender 2.63
[libs/gl.git] / source / arb_vertex_shader.cpp
1 #include "extension.h"
2 #include "arb_vertex_shader.h"
3
4 namespace Msp {
5 namespace GL {
6
7 PFNGLBINDATTRIBLOCATIONARBPROC glBindAttribLocationARB = 0;
8 PFNGLGETACTIVEATTRIBARBPROC glGetActiveAttribARB = 0;
9 PFNGLGETATTRIBLOCATIONARBPROC glGetAttribLocationARB = 0;
10
11 void init_arb_vertex_shader()
12 {
13         glBindAttribLocationARB = reinterpret_cast<PFNGLBINDATTRIBLOCATIONARBPROC>(get_proc_address("glBindAttribLocationARB"));
14         glGetActiveAttribARB = reinterpret_cast<PFNGLGETACTIVEATTRIBARBPROC>(get_proc_address("glGetActiveAttribARB"));
15         glGetAttribLocationARB = reinterpret_cast<PFNGLGETATTRIBLOCATIONARBPROC>(get_proc_address("glGetAttribLocationARB"));
16 }
17
18 } // namespace GL
19 } // namespace Msp