mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
squelch warnings on gcc
This commit is contained in:
parent
e51b471570
commit
d9360ffc26
@ -90,4 +90,4 @@ private:
|
|||||||
|
|
||||||
#include "shader.I"
|
#include "shader.I"
|
||||||
|
|
||||||
#endif SHADER_H
|
#endif // SHADER_H
|
||||||
|
@ -33,8 +33,8 @@ INLINE ShaderInput::
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
INLINE ShaderInput::
|
INLINE ShaderInput::
|
||||||
ShaderInput(InternalName *name, int priority) :
|
ShaderInput(InternalName *name, int priority) :
|
||||||
_type(M_invalid),
|
|
||||||
_name(name),
|
_name(name),
|
||||||
|
_type(M_invalid),
|
||||||
_priority(priority),
|
_priority(priority),
|
||||||
_stored_texture(NULL),
|
_stored_texture(NULL),
|
||||||
_stored_nodepath(NodePath()),
|
_stored_nodepath(NodePath()),
|
||||||
@ -49,8 +49,8 @@ ShaderInput(InternalName *name, int priority) :
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
INLINE ShaderInput::
|
INLINE ShaderInput::
|
||||||
ShaderInput(InternalName *name, Texture *tex, int priority) :
|
ShaderInput(InternalName *name, Texture *tex, int priority) :
|
||||||
_type(M_texture),
|
|
||||||
_name(name),
|
_name(name),
|
||||||
|
_type(M_texture),
|
||||||
_priority(priority),
|
_priority(priority),
|
||||||
_stored_texture(tex),
|
_stored_texture(tex),
|
||||||
_stored_nodepath(NodePath()),
|
_stored_nodepath(NodePath()),
|
||||||
@ -65,8 +65,8 @@ ShaderInput(InternalName *name, Texture *tex, int priority) :
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
INLINE ShaderInput::
|
INLINE ShaderInput::
|
||||||
ShaderInput(InternalName *name, const NodePath &np, int priority) :
|
ShaderInput(InternalName *name, const NodePath &np, int priority) :
|
||||||
_type(M_nodepath),
|
|
||||||
_name(name),
|
_name(name),
|
||||||
|
_type(M_nodepath),
|
||||||
_priority(priority),
|
_priority(priority),
|
||||||
_stored_texture(NULL),
|
_stored_texture(NULL),
|
||||||
_stored_nodepath(np),
|
_stored_nodepath(np),
|
||||||
@ -81,8 +81,8 @@ ShaderInput(InternalName *name, const NodePath &np, int priority) :
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
INLINE ShaderInput::
|
INLINE ShaderInput::
|
||||||
ShaderInput(InternalName *name, const LVector4f &vec, int priority) :
|
ShaderInput(InternalName *name, const LVector4f &vec, int priority) :
|
||||||
_type(M_vector),
|
|
||||||
_name(name),
|
_name(name),
|
||||||
|
_type(M_vector),
|
||||||
_priority(priority),
|
_priority(priority),
|
||||||
_stored_texture(NULL),
|
_stored_texture(NULL),
|
||||||
_stored_nodepath(NodePath()),
|
_stored_nodepath(NodePath()),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user