shaderc: Initialize uniform.

This commit is contained in:
Бранимир Караџић
2020-06-18 17:24:47 -07:00
parent 4a0b6dc3ff
commit eec559cc55

View File

@@ -118,6 +118,16 @@ namespace bgfx
struct Uniform
{
Uniform()
: type(UniformType::Count)
, num(0)
, regIndex(0)
, regCount(0)
, texComponent(0)
, texDimension(0)
{
}
std::string name;
UniformType::Enum type;
uint8_t num;