Fix kerning for the first pair of characters
[ipdf/code.git] / src / shaderprogram.cpp
index 45f4585..68a4767 100644 (file)
@@ -104,6 +104,7 @@ char * ShaderProgram::GetShaderSource(const char * src_file) const
 bool ShaderProgram::AttachShader(const char * src_file, GLenum type)
 {
        GLuint shader_obj = glCreateShader(type);
+       glObjectLabel(GL_SHADER, shader_obj, -1, src_file);
        char * src = GetShaderSource(src_file);
        if (src == NULL)
        {

UCC git Repository :: git.ucc.asn.au