Fix compilation and some warnings

This commit is contained in:
Jérôme Leclercq
2017-10-02 16:18:15 +02:00
parent 40a678889d
commit 99d21b8722
7 changed files with 32 additions and 11 deletions

View File

@@ -161,7 +161,7 @@ namespace Nz
#endif
const char* tmp = source.GetConstBuffer();
GLint length = source.GetSize();
GLint length = static_cast<GLint>(source.GetSize());
glShaderSource(m_id, 1, &tmp, &length);
}