squelch warnings on gcc

This commit is contained in:
David Rose 2005-09-26 17:41:51 +00:00
parent e51b471570
commit d9360ffc26
2 changed files with 5 additions and 5 deletions

View File

@ -90,4 +90,4 @@ private:
#include "shader.I"
#endif SHADER_H
#endif // SHADER_H

View File

@ -33,8 +33,8 @@ INLINE ShaderInput::
////////////////////////////////////////////////////////////////////
INLINE ShaderInput::
ShaderInput(InternalName *name, int priority) :
_type(M_invalid),
_name(name),
_type(M_invalid),
_priority(priority),
_stored_texture(NULL),
_stored_nodepath(NodePath()),
@ -49,8 +49,8 @@ ShaderInput(InternalName *name, int priority) :
////////////////////////////////////////////////////////////////////
INLINE ShaderInput::
ShaderInput(InternalName *name, Texture *tex, int priority) :
_type(M_texture),
_name(name),
_type(M_texture),
_priority(priority),
_stored_texture(tex),
_stored_nodepath(NodePath()),
@ -65,8 +65,8 @@ ShaderInput(InternalName *name, Texture *tex, int priority) :
////////////////////////////////////////////////////////////////////
INLINE ShaderInput::
ShaderInput(InternalName *name, const NodePath &np, int priority) :
_type(M_nodepath),
_name(name),
_type(M_nodepath),
_priority(priority),
_stored_texture(NULL),
_stored_nodepath(np),
@ -81,8 +81,8 @@ ShaderInput(InternalName *name, const NodePath &np, int priority) :
////////////////////////////////////////////////////////////////////
INLINE ShaderInput::
ShaderInput(InternalName *name, const LVector4f &vec, int priority) :
_type(M_vector),
_name(name),
_type(M_vector),
_priority(priority),
_stored_texture(NULL),
_stored_nodepath(NodePath()),