]> git.tdb.fi Git - libs/gl.git/blobdiff - source/resources.cpp
Honor the srgb conversion flag when loading textures asynchronously
[libs/gl.git] / source / resources.cpp
index afb84b27ae8689612ea068a9289cbb61a92910b6..61d05c9b3d831867e8b36af2f1f8cb70bb916c58 100644 (file)
@@ -93,7 +93,6 @@ Texture2D *Resources::create_texture2d(const string &name)
                        tex->set_mag_filter(default_tex_filter);
                tex->set_min_filter(default_tex_filter);
 
-               // TODO Somehow pass the srgb flag if a resource manager is in use
                if(resource_manager)
                        resource_manager->set_resource_location(*tex, *this, name);
                else