Commit edcc7916 authored by PoroCYon's avatar PoroCYon Committed by Gargaj
Browse files

add shader error to 'vertex shader compilation failed' msg (#126)

parent fc8c3bdf
......@@ -345,7 +345,7 @@ namespace Renderer
glGetShaderiv(glhVertexShader, GL_COMPILE_STATUS, &result);
if (!result)
{
printf("[Renderer] Vertex shader compilation failed\n");
printf("[Renderer] Vertex shader compilation failed\n%s\n", szErrorBuffer);
return false;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment