OpenGLRenderer: Minor fixes

This commit is contained in:
Jérôme Leclercq
2021-05-26 22:20:10 +02:00
parent e7a2573221
commit 7fe60026be
9 changed files with 26 additions and 138 deletions

View File

@@ -125,7 +125,7 @@ namespace Nz
std::string code = writer.Generate(shaderStage, shaderAst, states);
shader.SetSource(code.data(), code.size());
shader.SetSource(code.data(), GLint(code.size()));
shader.Compile();
CheckCompilationStatus(shader);