X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftexture3d.cpp;h=03c58d0afdf05e6273cfbbea2892ea2d7e067ca9;hp=1f62e050db9897ccc8dcff5511efbe94a0f6fb83;hb=bec07999d95b76f4b47cffcc564d0cd0afc0435e;hpb=6cbcaf877f0be27b4d921d1c182f5e21d4662268 diff --git a/source/texture3d.cpp b/source/texture3d.cpp index 1f62e050..03c58d0a 100644 --- a/source/texture3d.cpp +++ b/source/texture3d.cpp @@ -157,7 +157,7 @@ void Texture3D::image(const Graphics::Image &img, unsigned lv) PixelStore pstore = PixelStore::from_image(img); BindRestore _bind_ps(pstore); - image(0, img.get_data()); + image(0, img.get_pixels()); } unsigned Texture3D::get_n_levels() const