]> git.tdb.fi Git - libs/gl.git/blobdiff - source/select.cpp
Use DevIL for loading images
[libs/gl.git] / source / select.cpp
index f19dd3ef62819c4f32d5356b7c838a3294e3e5a3..67420977323597738ebfac564c8c9514ce637799 100644 (file)
@@ -6,7 +6,7 @@ Distributed under the LGPL
 */
 
 #include <GL/gl.h>
-#include "error.h"
+#include "except.h"
 #include "select.h"
 
 using namespace std;
@@ -52,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);
 }