]> git.tdb.fi Git - libs/gl.git/blobdiff - source/effects/ambientocclusion.cpp
Change various generated texture names to use the unified extension
[libs/gl.git] / source / effects / ambientocclusion.cpp
index 8149e408ee0a1dcc323e441c61c91d4f58842349..8c31a53fb115ddfe5ff25dd1f540e60132f6dc5b 100644 (file)
@@ -32,7 +32,7 @@ const Texture2D &AmbientOcclusion::get_or_create_rotate_lookup()
 {
        Resources &resources = Resources::get_global();
 
-       static const string name = "_ambientocclusion_rotate.tex2d";
+       static const string name = "_ambientocclusion_rotate.tex";
        Texture2D *rotate_lookup = resources.find<Texture2D>(name);
        if(rotate_lookup)
                return *rotate_lookup;