]> git.tdb.fi Git - libs/gl.git/blobdiff - source/select.cpp
Use DevIL for loading images
[libs/gl.git] / source / select.cpp
index 60838e6857dd206cff99d15593d9f2bd3d71d5f3..67420977323597738ebfac564c8c9514ce637799 100644 (file)
@@ -1,5 +1,12 @@
+/* $Id$
+
+This file is part of libmspgl
+Copyright © 2007  Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #include <GL/gl.h>
-#include "error.h"
+#include "except.h"
 #include "select.h"
 
 using namespace std;
@@ -45,7 +52,7 @@ void parse_select_records(const uint *buf, uint count, vector<SelectRecord> &tbu
 void _parse_internal_select_records(uint count)
 {
        if(!select_buf)
-               throw InvalidOperation("No select buffer specified");
+               throw InvalidState("No select buffer specified");
        parse_select_records(&select_buf_int[0], count, *select_buf);
 }