mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 16:58:09 +02:00
Only use an extra draw call for the background when drawing interleaved cells if it is actually required
This commit is contained in:
@@ -126,6 +126,12 @@ init_uniforms(int program) {
|
||||
}
|
||||
}
|
||||
|
||||
GLint
|
||||
get_uniform_location(int program, const char *name) {
|
||||
Program *p = programs + program;
|
||||
return glGetUniformLocation(p->id, name);
|
||||
}
|
||||
|
||||
GLint
|
||||
get_uniform_information(int program, const char *name, GLenum information_type) {
|
||||
GLint q; GLuint t;
|
||||
|
||||
Reference in New Issue
Block a user