[gtk/wip/chergert/glproto: 358/526] add missing wrapper should we end up using it
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto: 358/526] add missing wrapper should we end up using it
- Date: Tue, 16 Feb 2021 01:14:34 +0000 (UTC)
commit 97fc7824a5a1ea17ea84f2d0f7208ae6af4df137
Author: Christian Hergert <chergert redhat com>
Date: Thu Jan 28 22:25:59 2021 -0800
add missing wrapper should we end up using it
gsk/next/gskglprogramprivate.h | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/gsk/next/gskglprogramprivate.h b/gsk/next/gskglprogramprivate.h
index fbf7e01fc9..098995f578 100644
--- a/gsk/next/gskglprogramprivate.h
+++ b/gsk/next/gskglprogramprivate.h
@@ -90,6 +90,17 @@ gsk_gl_program_set_uniform1fv (GskGLProgram *self,
count, values);
}
+static inline void
+gsk_gl_program_set_uniform2fv (GskGLProgram *self,
+ guint key,
+ guint count,
+ const float *values)
+{
+ gsk_gl_command_queue_set_uniform2fv (self->driver->command_queue, self->id,
+ gsk_gl_program_get_uniform_location (self, key),
+ count, values);
+}
+
static inline void
gsk_gl_program_set_uniform4fv (GskGLProgram *self,
guint key,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]