X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexturecube.cpp;h=2db1b63b92162c358618c7c3d7a6a0831ce3cb5e;hb=e92de029768eef5f0fd744329e589161b46d0762;hp=4984985c807489b28d6f5737c2f2ba03286488d3;hpb=9b3bce7ae76ff8c0c81315d2505ea96bf422a318;p=libs%2Fgl.git diff --git a/source/core/texturecube.cpp b/source/core/texturecube.cpp index 4984985c..2db1b63b 100644 --- a/source/core/texturecube.cpp +++ b/source/core/texturecube.cpp @@ -5,9 +5,7 @@ #include #include #include -#include "bindable.h" #include "error.h" -#include "pixelstore.h" #include "texturecube.h" using namespace std; @@ -79,8 +77,6 @@ void TextureCube::allocate(unsigned level) throw invalid_operation("TextureCube::allocate"); if(level>=levels) throw invalid_argument("TextureCube::allocate"); - if(allocated&(64<(img.get_pixels()); unsigned face_size = img.get_stride()*size; for(unsigned i=0; i<6; ++i)