mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-26 19:01:27 +00:00
...
This commit is contained in:
parent
ed74f8e467
commit
176a548b99
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ class ShaderProgram:
|
|||
gl.glCompileShader(shader_id)
|
||||
if gl.glGetShaderiv(shader_id, gl.GL_COMPILE_STATUS) != gl.GL_TRUE:
|
||||
info = gl.glGetShaderInfoLog(shader_id)
|
||||
raise ValueError('GLSL Shader compilation failed: \n%s' % info.decode('utf-8'))
|
||||
raise ValueError('GLSL {} compilation failed: \n{}'.format(shader_type, info.decode('utf-8')))
|
||||
return shader_id
|
||||
except Exception:
|
||||
gl.glDeleteShader(shader_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue