Skip to content

Commit 0a00f57

Browse files
committed
OpenGL (NetBSD): try fixing build
1 parent 69f180b commit 0a00f57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/detection/opengl/opengl_shared.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ static const char* eglHandleData(FFOpenGLResult* result, EGLData* data)
106106
return "eglGetProcAddress(glGetString) returned NULL";
107107

108108
#if EGL_VERSION_1_5
109-
PFNEGLGETPLATFORMDISPLAYPROC ffeglGetPlatformDisplay = (PFNEGLGETPLATFORMDISPLAYPROC) data->ffeglGetProcAddress("eglGetPlatformDisplay");
109+
PFNEGLGETPLATFORMDISPLAYEXTPROC ffeglGetPlatformDisplay = (PFNEGLGETPLATFORMDISPLAYEXTPROC) data->ffeglGetProcAddress("eglGetPlatformDisplay");
110110
if (ffeglGetPlatformDisplay)
111111
data->display = ffeglGetPlatformDisplay(EGL_PLATFORM_SURFACELESS_MESA, NULL, NULL);
112112

0 commit comments

Comments
 (0)