X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexture2d.cpp;h=4d6e32f5550cd6f48ee68c71d957278b7ffe355e;hb=6f8c0c6c088be92804cb413c0234bfb817ef2d8d;hp=95f9f790507292797573931f9c241b6ae877be6e;hpb=e01371d38e290b4c526146fd5d1388bba8201233;p=libs%2Fgl.git diff --git a/source/texture2d.cpp b/source/texture2d.cpp index 95f9f790..4d6e32f5 100644 --- a/source/texture2d.cpp +++ b/source/texture2d.cpp @@ -1,3 +1,4 @@ +#include #include "bindable.h" #include "buffer.h" #include "error.h" @@ -65,8 +66,18 @@ void Texture2D::allocate(unsigned level) if(allocated&(1<