#include <SDL/SDL_image.h>
#include "Dispatcher.hh"
+#include "Library.hh"
#include "Log.hh"
-#include "Mippleton.hh"
#include "OpenGL.hh"
#include "Texture.hh"
* objects and avoid having duplicate textures loaded to GL.
*/
-class Texture::Impl : public Mippleton<Impl>
+class Texture::Impl : public Library<Impl>
{
/**
*/
explicit Impl(const std::string& name) :
- Mippleton<Impl>(name),
+ Library<Impl>(name),
mContext(0),
mWidth(0),
mHeight(0),
glBindTexture(GL_TEXTURE_2D, mObject);
glTexImage2D
+ //gluBuild2DMipmaps
(
GL_TEXTURE_2D,
0,
mMode,
+ //3,
mContext->w,
mContext->h,
0,