OpenGLRenderer: Minor fixes
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user