* always try to load libGL.so (which is a symlink), instead of libGL.so.1 on

NetBSD, because on NetBSD, the GL library can be either libGL.so.3, or
  libGL.so.1, depending on how the GL library is installed
This commit is contained in:
Nikolay Nikolov 2024-10-26 15:33:01 +03:00
parent ef1ca55728
commit 6c0be9f534

View File

@ -2284,7 +2284,7 @@ initialization
LoadOpenGL('/System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib');
{$elseif defined(MorphOS)}
InitTinyGLLibrary;
{$elseif defined(haiku) or defined(OpenBSD)}
{$elseif defined(haiku) or defined(OpenBSD) or defined(NetBSD)}
LoadOpenGL('libGL.so');
{$else}
LoadOpenGL('libGL.so.1');