X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexture1d.cpp;h=742857be725b4ed205b369c43d823f5b0812af14;hb=71ca61440610e650c6c1b761ebee1b587bbc969e;hp=592e4d77d81e961a8e08a617f4f78400dee43a68;hpb=d99f756830d39437d88e6cc7af034c3074b0bd86;p=libs%2Fgl.git 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