]> git.tdb.fi Git - libs/gl.git/blobdiff - source/select.cpp
Get rid of the typedefs for fundamental types
[libs/gl.git] / source / select.cpp
index 51fe0b60525c3ec829bb09136ae0a12d1da27da8..e905729d84229877e09ce0fb7b1ad69a0c3d0939 100644 (file)
@@ -14,7 +14,7 @@ using namespace std;
 namespace {
 
 vector<Msp::GL::SelectRecord> *select_buf=0;
-vector<Msp::GL::uint> select_buf_int;
+vector<unsigned> select_buf_int;
 
 }
 
@@ -33,7 +33,7 @@ void init_names()
        glInitNames();
 }
 
-void push_name(uint n)
+void push_name(unsigned n)
 {
        glPushName(n);
 }
@@ -43,19 +43,19 @@ void pop_name()
        glPopName();
 }
 
-void load_name(uint n)
+void load_name(unsigned n)
 {
        glLoadName(n);
 }
 
-void parse_select_records(const uint *buf, uint count, vector<SelectRecord> &tbuf)
+void parse_select_records(const unsigned *buf, unsigned count, vector<SelectRecord> &tbuf)
 {
-       uint i=0;
+       unsigned i=0;
        while(count--)
        {
                SelectRecord record;
 
-               uint n_names=buf[i++];
+               unsigned n_names=buf[i++];
                record.min_depth=buf[i++];
                record.max_depth=buf[i++];
 
@@ -67,7 +67,7 @@ void parse_select_records(const uint *buf, uint count, vector<SelectRecord> &tbu
        }
 }
 
-void _parse_internal_select_records(uint count)
+void _parse_internal_select_records(unsigned count)
 {
        if(!select_buf)
                throw InvalidState("No select buffer specified");