]> git.tdb.fi Git - libs/gl.git/blobdiff - source/program.h
Get rid of the typedefs for fundamental types
[libs/gl.git] / source / program.h
index 818e72be1174d4a0464bc91b5a691d8f54efd602..af506fe8c57b1128a5354e1515c20059bcccdb1e 100644 (file)
@@ -12,7 +12,6 @@ Distributed under the LGPL
 #include <string>
 #include <msp/datafile/objectloader.h>
 #include "gl.h"
-#include "types.h"
 
 namespace Msp {
 namespace GL {
@@ -22,7 +21,7 @@ class Shader;
 class Program
 {
 private:
-       uint id;
+       unsigned id;
        std::list<Shader *> shaders;
        bool del_shaders;
        bool linked;
@@ -38,7 +37,7 @@ public:
        private:
                void vertex_shader(const std::string &);
                void fragment_shader(const std::string &);
-               void attribute(uint, const std::string &);
+               void attribute(unsigned, const std::string &);
                virtual void finish();
        };
 
@@ -53,7 +52,7 @@ public:
        void detach_shader(Shader &shader);
        const std::list<Shader *> &get_shaders() const { return shaders; }
        void set_del_shaders(bool);
-       void bind_attribute(uint, const std::string &);
+       void bind_attribute(unsigned, const std::string &);
        void link();
        int get_param(GLenum param) const;
        bool get_linked() const { return linked; }