From: Mikko Rasa Date: Sun, 26 Aug 2012 21:31:35 +0000 (+0300) Subject: Fix an incorrect extension name X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=ccd59643144950604f95339683bac0ca4e8366d1 Fix an incorrect extension name --- diff --git a/source/texunit.cpp b/source/texunit.cpp index d581598a..7eb89a98 100644 --- a/source/texunit.cpp +++ b/source/texunit.cpp @@ -54,7 +54,7 @@ unsigned TexUnit::get_n_units() static int count = -1; if(count<0) { - if(is_version_at_least(2, 0) || is_supported("ARB_vertex_shader")) + if(is_version_at_least(2, 0) || is_supported("GL_ARB_vertex_shader")) glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS, &count); else if(is_version_at_least(1, 3)) glGetIntegerv(GL_MAX_TEXTURE_UNITS, &count);