From 6882cd9447be0c2928bd731e8d0fe7bb2c6e5f3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 4 Sep 2012 00:01:23 +0200 Subject: [PATCH] Fixed example (strongly typed enums) in AbstractShaderProgram. --- src/AbstractShaderProgram.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AbstractShaderProgram.h b/src/AbstractShaderProgram.h index f50d20040..bdcca5fbc 100644 --- a/src/AbstractShaderProgram.h +++ b/src/AbstractShaderProgram.h @@ -52,8 +52,8 @@ static const GLint SpecularTextureLayer = 1; @code MyShader() { // Load shaders from file and attach them to the program - attachShader(Shader::fromFile(Shader::Vertex, "PhongShader.vert")); - attachShader(Shader::fromFile(Shader::Fragment, "PhongShader.frag")); + attachShader(Shader::fromFile(Shader::Type::Vertex, "PhongShader.vert")); + attachShader(Shader::fromFile(Shader::Type::Fragment, "PhongShader.frag")); // Link link();