From 00c57be1edc510ff362c35696c685b0d93950877 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sun, 14 Jun 2026 21:19:06 +0300 Subject: [PATCH] gl: Fix linux build --- rpcs3/Emu/RSX/GL/glutils/ex.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/RSX/GL/glutils/ex.cpp b/rpcs3/Emu/RSX/GL/glutils/ex.cpp index 867930724d..d93ea508e8 100644 --- a/rpcs3/Emu/RSX/GL/glutils/ex.cpp +++ b/rpcs3/Emu/RSX/GL/glutils/ex.cpp @@ -5,8 +5,8 @@ namespace gl::ex { void glNamedBufferStorageEX(GLuint buffer, GLenum target, GLsizeiptr size, const void* data, GLbitfield flags) { - GLint restore = GL_NONE; - glGetIntegerv(target, &restore); + GLuint restore = GL_NONE; + glGetIntegerv(target, utils::bless(&restore)); glBindBuffer(target, buffer); glBufferStorage(target, size, data, flags);