]> git.tdb.fi Git - libs/gl.git/blob - source/nv_primitive_restart.cpp
Move Program::bind to its proper place
[libs/gl.git] / source / nv_primitive_restart.cpp
1 #include "extension.h"
2 #include "nv_primitive_restart.h"
3
4 namespace Msp {
5 namespace GL {
6
7 PFNGLPRIMITIVERESTARTNVPROC glPrimitiveRestartNV = 0;
8 PFNGLPRIMITIVERESTARTINDEXNVPROC glPrimitiveRestartIndexNV = 0;
9
10 void init_nv_primitive_restart()
11 {
12         glPrimitiveRestartNV = reinterpret_cast<PFNGLPRIMITIVERESTARTNVPROC>(get_proc_address("glPrimitiveRestartNV"));
13         glPrimitiveRestartIndexNV = reinterpret_cast<PFNGLPRIMITIVERESTARTINDEXNVPROC>(get_proc_address("glPrimitiveRestartIndexNV"));
14 }
15
16 } // namespace GL
17 } // namespace Msp