X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexture.h;h=4cd5481e2e18f570377c3f13d86b8b4dbf984cb8;hb=f35535633aab06e80f0666d8551431364654c6dc;hp=db6165fed82628206f29d69b39036d2160edefca;hpb=7d7a8f9e77a526fd5f2920b9005805e56a4b686c;p=libs%2Fgl.git diff --git a/source/texture.h b/source/texture.h index db6165fe..4cd5481e 100644 --- a/source/texture.h +++ b/source/texture.h @@ -2,7 +2,9 @@ #define MSP_GL_TEXTURE_H_ #include +#include "datatype.h" #include "gl.h" +#include "pixelformat.h" #include "predicate.h" #include "resource.h" @@ -122,6 +124,8 @@ public: ~Texture(); protected: + static DataType get_alloc_type(PixelFormat); + void update_parameter(int) const; public: void set_min_filter(TextureFilter);