mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 18:47:54 +02:00
* 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:
parent
ef1ca55728
commit
6c0be9f534
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user