Changed some error messages
Former-commit-id: e578d813dd7a8691506af080b79bc1ec99b65e3c
This commit is contained in:
parent
0d69267992
commit
b3351037c7
|
|
@ -396,7 +396,7 @@ void NzModel::SetSkinCount(unsigned int skinCount)
|
||||||
#if NAZARA_GRAPHICS_SAFE
|
#if NAZARA_GRAPHICS_SAFE
|
||||||
if (skinCount == 0)
|
if (skinCount == 0)
|
||||||
{
|
{
|
||||||
NazaraError("Skin count must be over 0");
|
NazaraError("Skin count must be over zero");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -375,7 +375,7 @@ void NzRenderer::DrawIndexedPrimitivesInstanced(unsigned int instanceCount, nzPr
|
||||||
|
|
||||||
if (instanceCount == 0)
|
if (instanceCount == 0)
|
||||||
{
|
{
|
||||||
NazaraError("Instance count must be over 0");
|
NazaraError("Instance count must be over zero");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -470,7 +470,7 @@ void NzRenderer::DrawPrimitivesInstanced(unsigned int instanceCount, nzPrimitive
|
||||||
|
|
||||||
if (instanceCount == 0)
|
if (instanceCount == 0)
|
||||||
{
|
{
|
||||||
NazaraError("Instance count must be over 0");
|
NazaraError("Instance count must be over zero");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ bool NzAnimation::AddSequence(const NzSequence& sequence)
|
||||||
|
|
||||||
if (sequence.frameCount == 0)
|
if (sequence.frameCount == 0)
|
||||||
{
|
{
|
||||||
NazaraError("Sequence frame count must be over 0");
|
NazaraError("Sequence frame count must be over zero");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ bool NzSkeleton::Create(unsigned int jointCount)
|
||||||
#if NAZARA_UTILITY_SAFE
|
#if NAZARA_UTILITY_SAFE
|
||||||
if (jointCount == 0)
|
if (jointCount == 0)
|
||||||
{
|
{
|
||||||
NazaraError("Joint count must be over 0");
|
NazaraError("Joint count must be over zero");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue