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);