From 94bc1a9b94a42e05978a56973643371cd7ce9eb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20N=C3=A4hrig?= Date: Mon, 18 May 2020 10:01:16 +0200 Subject: [PATCH] Update GLExtensions.cpp GLExtensions::glTexStorage2DMultisample in fact called glTextureStorage2DMultisample which expects texture object instead of texture target --- src/osg/GLExtensions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osg/GLExtensions.cpp b/src/osg/GLExtensions.cpp index 501f557d8..95cfffb12 100644 --- a/src/osg/GLExtensions.cpp +++ b/src/osg/GLExtensions.cpp @@ -921,8 +921,8 @@ GLExtensions::GLExtensions(unsigned int in_contextID): setGLExtensionFuncPtr(glTextureStorage2D,"glTextureStorage2D","glTextureStorage2DARB", validContext); setGLExtensionFuncPtr(glTexStorage3D, "glTexStorage3D","glTexStorage3DEXT", validContext); setGLExtensionFuncPtr(glTextureStorage3D, "glTextureStorage3D","glTextureStorage3DEXT", validContext); - setGLExtensionFuncPtr(glTexStorage2DMultisample, "glTextureStorage2DMultisample","glTextureStorage2DMultisampleEXT", validContext); - setGLExtensionFuncPtr(glTexStorage3DMultisample, "glTextureStorage3DMultisample","glTextureStorage3DMultisampleEXT", validContext); + setGLExtensionFuncPtr(glTexStorage2DMultisample, "glTexStorage2DMultisample", validContext); + setGLExtensionFuncPtr(glTexStorage3DMultisample, "glTexStorage3DMultisample", validContext); setGLExtensionFuncPtr(glTextureView, "glTextureView","glTextureViewEXT", validContext); setGLExtensionFuncPtr(glCompressedTexImage2D,"glCompressedTexImage2D","glCompressedTexImage2DARB", validContext);