From 0a00f5721e8ddfeb59dfb12bf28cf72a4944a320 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Sat, 14 Dec 2024 21:35:11 +0800 Subject: [PATCH] OpenGL (NetBSD): try fixing build --- src/detection/opengl/opengl_shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detection/opengl/opengl_shared.c b/src/detection/opengl/opengl_shared.c index 299c333dc..f13916e74 100644 --- a/src/detection/opengl/opengl_shared.c +++ b/src/detection/opengl/opengl_shared.c @@ -106,7 +106,7 @@ static const char* eglHandleData(FFOpenGLResult* result, EGLData* data) return "eglGetProcAddress(glGetString) returned NULL"; #if EGL_VERSION_1_5 - PFNEGLGETPLATFORMDISPLAYPROC ffeglGetPlatformDisplay = (PFNEGLGETPLATFORMDISPLAYPROC) data->ffeglGetProcAddress("eglGetPlatformDisplay"); + PFNEGLGETPLATFORMDISPLAYEXTPROC ffeglGetPlatformDisplay = (PFNEGLGETPLATFORMDISPLAYEXTPROC) data->ffeglGetProcAddress("eglGetPlatformDisplay"); if (ffeglGetPlatformDisplay) data->display = ffeglGetPlatformDisplay(EGL_PLATFORM_SURFACELESS_MESA, NULL, NULL);