From f2dfd78914d6666ec2d9a0f3dda0ade05b26c867 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 21 Aug 2018 09:19:50 +0100 Subject: [PATCH] Replaced GL_RGBA32F with GL_RGBA32F_ARB to fix Windows build --- 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 ec3948f1f..cd5955ee9 100644 --- a/src/osg/Texture.cpp +++ b/src/osg/Texture.cpp @@ -151,7 +151,7 @@ InternalPixelRelations sizedInternalFormats[] = { , { GL_RGB5_A1 , GL_RGBA , GL_UNSIGNED_INT_2_10_10_10_REV } // , { GL_RGBA16F , GL_RGBA , GL_HALF_FLOAT } , { GL_RGBA16F , GL_RGBA , GL_FLOAT } - , { GL_RGBA32F , GL_RGBA , GL_FLOAT } + , { GL_RGBA32F_ARB , GL_RGBA , GL_FLOAT } , { GL_SRGB8 , GL_RGB , GL_UNSIGNED_BYTE } , { GL_SRGB8_ALPHA8 , GL_RGBA , GL_UNSIGNED_BYTE }