X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fshader.cpp;h=0f60edcd6195324db4201dac50feda4fa98b6489;hb=7b956c7f992e37dddd279df0382c2fb94864cb73;hp=c7a08bfac5e0b71f5371cf841506b21c463e845f;hpb=953f041e904e97c4435e0229b8d88eabe31e5c3d;p=libs%2Fgl.git diff --git a/source/shader.cpp b/source/shader.cpp index c7a08bfa..0f60edcd 100644 --- a/source/shader.cpp +++ b/source/shader.cpp @@ -1,12 +1,5 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #include "arb_shader_objects.h" -#include "except.h" +#include "error.h" #include "extension.h" #include "shader.h" @@ -66,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