]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture1d.cpp
Remove the deprecated ProgramBuilder class
[libs/gl.git] / source / texture1d.cpp
index 592e4d77d81e961a8e08a617f4f78400dee43a68..742857be725b4ed205b369c43d823f5b0812af14 100644 (file)
@@ -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