From ef061b76b1f4eb4e9657933039873221d6380541 Mon Sep 17 00:00:00 2001 From: Sean Harmer Date: Thu, 4 Apr 2013 10:39:36 +0100 Subject: Fix incorrect classification of glTexImage3D. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://www.khronos.org/bugzilla/show_bug.cgi?id=449 for upstream bug in gl.spec which incorrectly marks glTexImage3D as deprecated. Change-Id: Ib307a5315dd37b8b18389df54b1c93e6a43c61dd Reviewed-by: James Turner Reviewed-by: Samuel Rødal --- src/gui/opengl/qopenglversionfunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/opengl/qopenglversionfunctions.cpp') diff --git a/src/gui/opengl/qopenglversionfunctions.cpp b/src/gui/opengl/qopenglversionfunctions.cpp index d39ecd9d4c7..0b1b6834e3e 100644 --- a/src/gui/opengl/qopenglversionfunctions.cpp +++ b/src/gui/opengl/qopenglversionfunctions.cpp @@ -384,6 +384,7 @@ QOpenGLFunctions_1_2_CoreBackend::QOpenGLFunctions_1_2_CoreBackend(QOpenGLContex // OpenGL 1.2 core functions CopyTexSubImage3D = reinterpret_cast(context->getProcAddress("glCopyTexSubImage3D")); TexSubImage3D = reinterpret_cast(context->getProcAddress("glTexSubImage3D")); + TexImage3D = reinterpret_cast(context->getProcAddress("glTexImage3D")); DrawRangeElements = reinterpret_cast(context->getProcAddress("glDrawRangeElements")); BlendEquation = reinterpret_cast(context->getProcAddress("glBlendEquation")); BlendColor = reinterpret_cast(context->getProcAddress("glBlendColor")); @@ -1593,7 +1594,6 @@ QOpenGLFunctions_1_2_DeprecatedBackend::QOpenGLFunctions_1_2_DeprecatedBackend(Q ColorTableParameteriv = reinterpret_cast(context->getProcAddress("glColorTableParameteriv")); ColorTableParameterfv = reinterpret_cast(context->getProcAddress("glColorTableParameterfv")); ColorTable = reinterpret_cast(context->getProcAddress("glColorTable")); - TexImage3D = reinterpret_cast(context->getProcAddress("glTexImage3D")); } -- cgit v1.2.3