OSDN Git Service

glsl: avoid leaking hiddenUniforms map when there are no uniforms
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 2 Oct 2015 00:21:47 +0000 (20:21 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 2 Oct 2015 18:14:27 +0000 (14:14 -0400)
commit19598aaa5d0ea318ebd4a7e731bcaacaa4f3fe7c
treedcbcac98f80180d6c7ac499af052d5d8bc9544a1
parentda2fdf950fe754f9d38b3c2b8e73582ac92c4477
glsl: avoid leaking hiddenUniforms map when there are no uniforms

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/glsl/link_uniforms.cpp