X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fshadowmap.cpp;h=91c056fe147cc4c994100b5a1aa1e2ec8534c730;hb=fa5b232a16e11d7950e80764497f0167ec9e3b41;hp=d380257d83fc6910b4bab5a181b765ebfd41ebc4;hpb=2b779717e42b514210f7128cf9aee2276650e003;p=libs%2Fgl.git diff --git a/source/shadowmap.cpp b/source/shadowmap.cpp index d380257d..91c056fe 100644 --- a/source/shadowmap.cpp +++ b/source/shadowmap.cpp @@ -144,7 +144,7 @@ void ShadowMap::render(Renderer &renderer, const Tag &tag) const if(!enabled_passes.count(tag)) return renderer.render(renderable, tag); - const double *matrix = light_matrix.data(); + const float *matrix = light_matrix.data(); // Has side effect of changing the current unit depth_buf.bind_to(unit);