From 88c6a476ca10a24c65350ab0ed42e5345bc86753 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 25 Apr 2002 08:54:48 +0000 Subject: [PATCH] Fixed compile problem under VisualStudio. --- src/osg/Texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osg/Texture.cpp b/src/osg/Texture.cpp index 267d05269..75c69b86c 100644 --- a/src/osg/Texture.cpp +++ b/src/osg/Texture.cpp @@ -432,7 +432,7 @@ void Texture::applyTexImage(GLenum target, Image* image, State& state) const // when use 16 bit textures rather than 24/32bit textures. // internalFormat = GL_RGBA4; static MyCompressedTexImage2DArbProc glCompressedTexImage2D_ptr = - (PFNGLCOMPRESSEDTEXIMAGE2DARBPROC)getGLExtensionFuncPtr("glCompressedTexImage2DARB"); + (MyCompressedTexImage2DArbProc)getGLExtensionFuncPtr("glCompressedTexImage2DARB"); if (_subloadMode == OFF) { if( _min_filter == LINEAR || _min_filter == NEAREST )