Skip to content

Commit

Permalink
OpenGL (NetBSD): try fixing build
Browse files Browse the repository at this point in the history
  • Loading branch information
CarterLi committed Dec 14, 2024
1 parent 69f180b commit 0a00f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/detection/opengl/opengl_shared.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 0a00f57

Please sign in to comment.