]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Texture.cc
renamed mippleton to library
[chaz/yoink] / src / Moof / Texture.cc
index fc50cfadeffcc62535faae1cf80cee6e24ec2576..78dc0c8148b478c092f0375ac46c3ecff2d7f707 100644 (file)
@@ -34,8 +34,8 @@
 #include <SDL/SDL_image.h>
 
 #include "Dispatcher.hh"
+#include "Library.hh"
 #include "Log.hh"
-#include "Mippleton.hh"
 #include "OpenGL.hh"
 #include "Texture.hh"
 
@@ -52,7 +52,7 @@ namespace Mf {
  * objects and avoid having duplicate textures loaded to GL.
  */
 
-class Texture::Impl : public Mippleton<Impl>
+class Texture::Impl : public Library<Impl>
 {
 
        /**
@@ -131,7 +131,7 @@ public:
         */
 
        explicit Impl(const std::string& name) :
-               Mippleton<Impl>(name),
+               Library<Impl>(name),
                mContext(0),
                mWidth(0),
                mHeight(0),
@@ -296,10 +296,12 @@ public:
                glBindTexture(GL_TEXTURE_2D, mObject);
 
                glTexImage2D
+               //gluBuild2DMipmaps
                (
                        GL_TEXTURE_2D,
                        0,
                        mMode,
+                       //3,
                        mContext->w,
                        mContext->h,
                        0,
This page took 0.018425 seconds and 4 git commands to generate.