]> Dogcows Code - chaz/yoink/blobdiff - src/moof/aabb.hh
converted image management to resource handles
[chaz/yoink] / src / moof / aabb.hh
index 64e8968be114d72268808c65ae3630ac69a24582..b2fc4b0d23835ce44d1d7a6bb48afbe06bc6f3db 100644 (file)
@@ -24,8 +24,8 @@
 #include <moof/shape.hh>
 
 #include <moof/frustum.hh>             // FIXME: this file is quite broken
+#include <moof/image.hh>
 #include <moof/opengl.hh>
-#include <moof/texture.hh>
 
 
 namespace moof {
@@ -245,7 +245,7 @@ inline void aabb<3>::draw(scalar alpha) const
        glVertexPointer(3, GL_SCALAR, 0, vertices);
 
        glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
-       texture::reset_binding();
+       image::reset_binding();
 
        glDrawElements(GL_QUADS, sizeof(indices), GL_UNSIGNED_BYTE,
                                   indices);
This page took 0.020556 seconds and 4 git commands to generate.