X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Feffects%2Fambientocclusion.cpp;h=8c31a53fb115ddfe5ff25dd1f540e60132f6dc5b;hp=8149e408ee0a1dcc323e441c61c91d4f58842349;hb=c8520aa336e92f2eaf9a38c3430c608520a90324;hpb=f501ffe2862fd8b4c5793542190e8e0a0d8de667 diff --git a/source/effects/ambientocclusion.cpp b/source/effects/ambientocclusion.cpp index 8149e408..8c31a53f 100644 --- a/source/effects/ambientocclusion.cpp +++ b/source/effects/ambientocclusion.cpp @@ -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(name); if(rotate_lookup) return *rotate_lookup;