[gtk/wip/chergert/glproto: 285/526] add debug printf for uniform locations
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto: 285/526] add debug printf for uniform locations
- Date: Tue, 16 Feb 2021 01:14:32 +0000 (UTC)
commit 14fc41a90c06f527589d9ae6891c6fd14b86d1e6
Author: Christian Hergert <chergert redhat com>
Date: Wed Jan 20 21:29:45 2021 -0800
add debug printf for uniform locations
gsk/next/gskglprogram.c | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/gsk/next/gskglprogram.c b/gsk/next/gskglprogram.c
index 87b22241cf..f577e66be7 100644
--- a/gsk/next/gskglprogram.c
+++ b/gsk/next/gskglprogram.c
@@ -138,6 +138,11 @@ gsk_gl_program_add_uniform (GskGLProgram *self,
else if (key == UNIFORM_SHARED_ALPHA)
self->alpha_location = location;
+#if 0
+ g_print ("program [%d] %s uniform %s at location %d.\n",
+ self->id, self->name, name, location);
+#endif
+
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]