mcst-linux-kernel/patches-2024.06.26/gl4es-1.1.4/0242-Fix-wrong-variable-usa...

26 lines
743 B
Diff

From 516f1d9a32389747cae7e5f987cfb4862b419922 Mon Sep 17 00:00:00 2001
From: Mathias-Boulay <mathiasboulay@free.fr>
Date: Thu, 27 Apr 2023 11:51:33 +0200
Subject: [PATCH 242/249] Fix: wrong variable usage in list.c
---
src/gl/list.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gl/list.c b/src/gl/list.c
index 591a79ee..63d4d0cc 100644
--- a/src/gl/list.c
+++ b/src/gl/list.c
@@ -763,7 +763,7 @@ void free_renderlist(renderlist_t *list) {
if(list->vbo_array)
deleteSingleBuffer(list->vbo_array);
if(list->vbo_indices)
- deleteSingleBuffer(list->vbo_array);
+ deleteSingleBuffer(list->vbo_indices);
next = list->next;
free(list);
--
2.30.2