From 904772c719e43e626c0e155952e90e4a69c8fadd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Thu, 1 Oct 2020 06:24:20 +0200 Subject: [PATCH] gdkgl: Rename function This returns the name of the shader type. --- gdk/gdkgl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdk/gdkgl.c b/gdk/gdkgl.c index 7ac9f2b320..7e4817a4db 100644 --- a/gdk/gdkgl.c +++ b/gdk/gdkgl.c @@ -27,7 +27,7 @@ #include static const char * -get_vertex_type_name (int type) +get_shader_type_name (int type) { switch (type) { @@ -64,7 +64,7 @@ create_shader (int type, buffer = g_malloc (log_len + 1); glGetShaderInfoLog (shader, log_len, NULL, buffer); - g_warning ("Compile failure in %s shader:\n%s", get_vertex_type_name (type), buffer); + g_warning ("Compile failure in %s shader:\n%s", get_shader_type_name (type), buffer); g_free (buffer); glDeleteShader (shader);