From 46f920ae2a1d2ed42bc7ad17c323659b6afda5ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Sun, 16 Feb 2025 23:29:05 +0800 Subject: [PATCH] OpenGL (Haiku): report platform API --- src/detection/opengl/opengl_haiku.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/detection/opengl/opengl_haiku.cpp b/src/detection/opengl/opengl_haiku.cpp index 504c47ce2..ce0103360 100644 --- a/src/detection/opengl/opengl_haiku.cpp +++ b/src/detection/opengl/opengl_haiku.cpp @@ -18,6 +18,7 @@ static const char* oglDetectOpenGL(FFOpenGLResult* result) auto ffglGetString = (decltype(&glGetString)) glView.GetGLProcAddress("glGetString"); if (!ffglGetString) return "glView.GetGLProcAddress() failed"; ffOpenGLHandleResult(result, ffglGetString); + ffStrbufSetStatic(&result->library, "OpenGLKit"); return NULL; }