From e0b288fe37385cb9c82ec46de1e88e55aa3497f9 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 478b503f6..88c139c13 100644 --- a/src/osg/GLExtensions.cpp +++ b/src/osg/GLExtensions.cpp @@ -918,8 +918,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);