mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-07-15 04:14:41 +00:00
Get rid of a lot of gcc warnings
Mostly signed/unsigned comparisons. Also some bugs, but I don't remember where :D
This commit is contained in:
parent
5ba014640c
commit
b9d402199c
88 changed files with 780 additions and 810 deletions
|
@ -368,7 +368,7 @@ bool Shader::Uniform::operator< (const Uniform& b) const
|
|||
|
||||
void Shader::_queryUniforms()
|
||||
{
|
||||
glGetObjectParameterivARB(g_programObj, GL_OBJECT_ACTIVE_UNIFORMS_ARB , &numUniforms);
|
||||
glGetObjectParameterivARB(g_programObj, GL_OBJECT_ACTIVE_UNIFORMS_ARB , (GLint*)&numUniforms);
|
||||
|
||||
if (numUniforms <= 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue