X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Ftexture3d.cpp;h=c38b44652d366c4c13fa9cd18bf3928de8da9080;hb=a80b074c70ec991f27114efd13686038cf42c493;hp=17adb6a109369ed6ca3053d43ee740f851cd6cb6;hpb=530ace590ddb8024fbffc944d006aae7876a25f9;p=libs%2Fgl.git diff --git a/source/texture3d.cpp b/source/texture3d.cpp index 17adb6a1..c38b4465 100644 --- a/source/texture3d.cpp +++ b/source/texture3d.cpp @@ -53,7 +53,7 @@ void Texture3D::image(int level, PixelFormat fmt, GLenum type, const void *data) void Texture3D::load_image(const string &fn, int dp) { Image img; - img.load(fn); + img.load_file(fn); unsigned w=img.get_width(); unsigned h=img.get_height();