X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftexture1d.cpp;h=742857be725b4ed205b369c43d823f5b0812af14;hp=592e4d77d81e961a8e08a617f4f78400dee43a68;hb=bec07999d95b76f4b47cffcc564d0cd0afc0435e;hpb=635e5dc39adf09051bdacadbc402ddf22f7807a3 diff --git a/source/texture1d.cpp b/source/texture1d.cpp index 592e4d77..742857be 100644 --- a/source/texture1d.cpp +++ b/source/texture1d.cpp @@ -131,7 +131,7 @@ void Texture1D::image(const Graphics::Image &img, unsigned lv) else if(w!=width) throw incompatible_data("Texture1D::image"); - image(0, img.get_data()); + image(0, img.get_pixels()); } unsigned Texture1D::get_n_levels() const