X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fshader.cpp;fp=source%2Fshader.cpp;h=0f60edcd6195324db4201dac50feda4fa98b6489;hp=967ac8a624dc63f92248dc7f604b99c44fe73c79;hb=2e7f19b895424c3a77940e648639f8df2b395d0f;hpb=97e1aa9b5d2bacd3f1dddf2d1889f2714e36b766 diff --git a/source/shader.cpp b/source/shader.cpp index 967ac8a6..0f60edcd 100644 --- a/source/shader.cpp +++ b/source/shader.cpp @@ -1,5 +1,5 @@ #include "arb_shader_objects.h" -#include "except.h" +#include "error.h" #include "extension.h" #include "shader.h" @@ -59,7 +59,7 @@ void Shader::compile() int value = 0; glGetObjectParameterivARB(id, GL_OBJECT_COMPILE_STATUS_ARB, &value); if(!(compiled = value)) - throw CompileError(get_info_log()); + throw compile_error(get_info_log()); } string Shader::get_info_log() const