aboutsummaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'gtk')
-rw-r--r--gtk/oscilloview-gl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/oscilloview-gl.c b/gtk/oscilloview-gl.c
index 40d6813..01e7808 100644
--- a/gtk/oscilloview-gl.c
+++ b/gtk/oscilloview-gl.c
@@ -27,6 +27,7 @@ static struct {
static void on_glarea_unrealize(GtkWidget *w, gpointer ptr) {
(void)w;
+ (void)ptr;
GtkGLArea *area = GTK_GL_AREA(w);
gtk_gl_area_make_current(area);
if (gtk_gl_area_get_error(area)) return;
@@ -118,6 +119,8 @@ static void on_realize(GtkWidget *w, gpointer ptr) {
static gboolean on_render(GtkGLArea *area,
GdkGLContext *ctx,
gpointer ptr) {
+ (void)area;
+ (void)ctx;
(void)ptr;
if (!atomic_flag_test_and_set_explicit(
&oscilloview_g.flag, memory_order_acquire)) {