[gtk/wip/baedert/for-master: 47/53] gdkgl: Rename function
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 47/53] gdkgl: Rename function
- Date: Sat, 3 Oct 2020 09:58:17 +0000 (UTC)
commit 03bc8ba940ae37b6bd36ea4e912ee75186b755cf
Author: Timm Bäder <mail baedert org>
Date: Thu Oct 1 06:24:20 2020 +0200
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 <string.h>
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]