From 1f0515ceffb2f74165fb03db8f950dc3a825ce55 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 29 Mar 2017 11:38:29 +0100 Subject: [PATCH] Fix for GL3 --- src/osg/StateSet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osg/StateSet.cpp b/src/osg/StateSet.cpp index db591c8b3..cb2837572 100644 --- a/src/osg/StateSet.cpp +++ b/src/osg/StateSet.cpp @@ -78,7 +78,7 @@ static const char* gl3_FragmentShader = { "out vec4 color;\n" "void main(void)\n" "{\n" - " color = vertexColor * texture2D(baseTexture, texCoord);\n" + " color = vertexColor * texture(baseTexture, texCoord);\n" "}\n" };