From ccd59643144950604f95339683bac0ca4e8366d1 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 27 Aug 2012 00:31:35 +0300 Subject: [PATCH] Fix an incorrect extension name --- source/texunit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.45.2