mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-12 22:40:54 +01:00
OpenGL (NetBSD): try fixing build
This commit is contained in:
1 parent
69f180beea
commit
0a00f5721e
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user