X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexture2darray.cpp;h=1ecb4cf2be69e1b34a28f1f8b8cea643b84e2325;hb=cc7454c7f32ee8a8ff5d67c7a530d843bb68448c;hp=4d37263c76b75c59ddb06f5e03d6e0096cd43439;hpb=99e833421259dd90b164a9c49d63c936c343c65f;p=libs%2Fgl.git diff --git a/source/texture2darray.cpp b/source/texture2darray.cpp index 4d37263c..1ecb4cf2 100644 --- a/source/texture2darray.cpp +++ b/source/texture2darray.cpp @@ -48,7 +48,7 @@ void Texture2DArray::layer_image(unsigned level, unsigned z, const Graphics::Ima PixelStore pstore = PixelStore::from_image(img); BindRestore _bind_ps(pstore); - layer_image(level, z, img.get_data()); + layer_image(level, z, img.get_pixels()); }