]> git.tdb.fi Git - libs/gl.git/blobdiff - demos/shaders.cpp
Fix color equations in the standard shaders
[libs/gl.git] / demos / shaders.cpp
index 27538e4eb2e6a2c35e1bf5aa9e7fa4465a5b8bd8..1b9c64724f78bd394ab9051458bfcfe496136d63 100644 (file)
@@ -83,6 +83,7 @@ int main()
        }
 
        GL::ProgramData progdata;
+       progdata.uniform("texture", 0);
        progdata.uniform("normalmap", 1);
 
        GL::Lighting lighting;