X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Farb_vertex_shader.cpp;h=612c5033fe0fe2fd50c4ecc00ef1b77b705cad67;hp=9c9dc3d74b8ce3d5ba38a1624324e1bdcc7efad9;hb=b617c5d7b5283ad260a77f01e42e6170cabbc03d;hpb=f17794d55923d4fb4f63e9d082d8d84a735a04e8 diff --git a/source/arb_vertex_shader.cpp b/source/arb_vertex_shader.cpp index 9c9dc3d7..612c5033 100644 --- a/source/arb_vertex_shader.cpp +++ b/source/arb_vertex_shader.cpp @@ -4,15 +4,15 @@ namespace Msp { namespace GL { -PFNGLBINDATTRIBLOCATIONARBPROC glBindAttribLocationARB=0; -PFNGLGETACTIVEATTRIBARBPROC glGetActiveAttribARB=0; -PFNGLGETATTRIBLOCATIONARBPROC glGetAttribLocationARB=0; +PFNGLBINDATTRIBLOCATIONARBPROC glBindAttribLocationARB = 0; +PFNGLGETACTIVEATTRIBARBPROC glGetActiveAttribARB = 0; +PFNGLGETATTRIBLOCATIONARBPROC glGetAttribLocationARB = 0; void init_arb_vertex_shader() { - glBindAttribLocationARB=reinterpret_cast(get_proc_address("glBindAttribLocationARB")); - glGetActiveAttribARB=reinterpret_cast(get_proc_address("glGetActiveAttribARB")); - glGetAttribLocationARB=reinterpret_cast(get_proc_address("glGetAttribLocationARB")); + glBindAttribLocationARB = reinterpret_cast(get_proc_address("glBindAttribLocationARB")); + glGetActiveAttribARB = reinterpret_cast(get_proc_address("glGetActiveAttribARB")); + glGetAttribLocationARB = reinterpret_cast(get_proc_address("glGetAttribLocationARB")); } } // namespace GL