#include <msp/graphics/image.h>
#include "bindable.h"
#include "error.h"
-#include "pixelstore.h"
#include "texture3d.h"
using namespace std;
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());
}