Added Windows shortcut to generate CodeLite project
Changed two submesh's error message Fixed OpenGL.hpp/.cpp spaces for some displayers OpenGL loads GL_kdr_debug if possible instead of GL_ARB_debug_output Refactored external includes
This commit is contained in:
@@ -17,7 +17,7 @@ m_parent(parent)
|
||||
#ifdef NAZARA_DEBUG
|
||||
if (!m_parent)
|
||||
{
|
||||
NazaraError("Parent mesh is null");
|
||||
NazaraError("Parent mesh must be valid");
|
||||
throw std::invalid_argument("Parent mesh must be valid");
|
||||
}
|
||||
#endif
|
||||
@@ -30,7 +30,7 @@ void NzSubMesh::Animate(unsigned int frameA, unsigned int frameB, float interpol
|
||||
#if NAZARA_UTILITY_SAFE
|
||||
if (!m_parent->HasAnimation())
|
||||
{
|
||||
NazaraError("SubMesh is not animated");
|
||||
NazaraError("SubMesh has no animation");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user