From 0a0fa51443da076f662b12f0bb9596ab4c98c9f3 Mon Sep 17 00:00:00 2001 From: Mihai Preda Date: Fri, 15 May 2026 14:25:19 +0300 Subject: [PATCH] Fix compilation for -DPLATFORM=RGFW MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When compiling with cmake -S . -B build-desktop-rgfw -DPLATFORM=RGFW -DCMAKE_BUILD_TYPE=Release cmake --build build-desktop-rgfw these errors appeared: raylib/examples/others/raylib_opengl_interop.c:100:5: error: unknown type name ‘GLuint’ 100 | GLuint vao = 0; [etc] --- examples/others/raylib_opengl_interop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/others/raylib_opengl_interop.c b/examples/others/raylib_opengl_interop.c index 540a623ab..3e4cf8839 100644 --- a/examples/others/raylib_opengl_interop.c +++ b/examples/others/raylib_opengl_interop.c @@ -28,7 +28,7 @@ #include "raylib.h" -#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_DESKTOP_SDL) +#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_DESKTOP_SDL) || defined(PLATFORM_DESKTOP_RGFW) #if defined(GRAPHICS_API_OPENGL_ES2) #include "glad_gles2.h" // Required for: OpenGL functionality #define glGenVertexArrays glGenVertexArraysOES