]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture3d.cpp
Remove the PixelStore class
[libs/gl.git] / source / core / texture3d.cpp
index 3c675dbb705847527586b452f414bdc4b49c1fb1..ab8bca7cba1c8cfd4f5598b73c8dfa759d96488c 100644 (file)
@@ -7,7 +7,6 @@
 #include <msp/graphics/image.h>
 #include "bindable.h"
 #include "error.h"
-#include "pixelstore.h"
 #include "texture3d.h"
 
 using namespace std;
@@ -190,9 +189,6 @@ void Texture3D::image(const Graphics::Image &img, unsigned lv)
        PixelFormat fmt = pixelformat_from_image(img);
        storage(make_pixelformat(get_components(fmt), get_component_type(fmt), use_srgb_format), w, h, d, lv);
 
-       PixelStore pstore = PixelStore::from_image(img);
-       BindRestore _bind_ps(pstore);
-
        image(0, img.get_pixels());
 }