]> git.tdb.fi Git - libs/gl.git/blobdiff - source/resources.cpp
Make explicit mipmap generation public
[libs/gl.git] / source / resources.cpp
index 03e10e2dccac03e46b1fa0b904cef0b821c8db17..22814cb820525809836226b2a455afd844d668cd 100644 (file)
@@ -121,7 +121,7 @@ Texture2D *Resources::create_texture2d(const string &name)
 
                if(is_mipmapped(default_tex_filter))
                {
-                       tex->set_generate_mipmap(true);
+                       tex->set_auto_generate_mipmap(true);
                        tex->set_mag_filter(LINEAR);
                }
                else