fix warning Uniform is struct, not class.
Merge pull request #7139 from zawasp/uniform_struct

fix warning Uniform is struct, not class.