glsl: init non-static class member in link uniforms. (v2)
link_uniforms.cpp:477: uninit_member: Non-static class member "shader_storage_blocks_write_access" is not initialized in this constructor nor in any functions that it calls. Reported by coverity. v2: fix 9->0 typo (Ilia) Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
@@ -472,7 +472,8 @@ public:
|
||||
bool use_std430_as_default)
|
||||
: prog(prog), map(map), uniforms(uniforms),
|
||||
use_std430_as_default(use_std430_as_default), values(values),
|
||||
bindless_targets(NULL), bindless_access(NULL)
|
||||
bindless_targets(NULL), bindless_access(NULL),
|
||||
shader_storage_blocks_write_access(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user