X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexture2d.cpp;h=23cb9477e122c69ddabdbf614dfafca05ed71801;hb=9b430dbef4f58a862320ebfcef7d1f8bff28b0dc;hp=95f9f790507292797573931f9c241b6ae877be6e;hpb=e01371d38e290b4c526146fd5d1388bba8201233;p=libs%2Fgl.git diff --git a/source/texture2d.cpp b/source/texture2d.cpp index 95f9f790..23cb9477 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<