]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Texture.cc
scene drawing correctly implemented; new classes
[chaz/yoink] / src / Moof / Texture.cc
index 8bd3c4a3ae00a16657d670fe55620f48b0c99af0..128d54f3d7c8750b2087859a22b81aa6c5f18dc6 100644 (file)
@@ -396,7 +396,7 @@ Texture::Texture(const std::string& name) :
  * Bind the GL texture for mapping, etc.
  */
 
-void Texture::bind()
+void Texture::bind() const
 {
        // pass through
        impl_->bind();
@@ -407,20 +407,20 @@ void Texture::bind()
  * Get the texture object, for the curious.
  */
 
-GLuint Texture::getObject()
+GLuint Texture::getObject() const
 {
        // pass through
        return impl_->object_;
 }
 
 
-unsigned Texture::getWidth()
+unsigned Texture::getWidth() const
 {
        // pass through
        return impl_->width_;
 }
 
-unsigned Texture::getHeight()
+unsigned Texture::getHeight() const
 {
        // pass through
        return impl_->height_;
This page took 0.017798 seconds and 4 git commands to generate.