diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-11-11 21:04:09 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-11-11 21:04:09 +0000 |
commit | 500ed11176dd759e90b6a9e463743dfbbb17c192 (patch) | |
tree | b836812ae674d6049289814f38463232de198dd0 /src/lib/JEDI-SDL/OpenGL/Pas/glx.pas | |
parent | d1e785de440987c1663f59ab2f8fee605a752feb (diff) | |
download | usdx-500ed11176dd759e90b6a9e463743dfbbb17c192.tar.gz usdx-500ed11176dd759e90b6a9e463743dfbbb17c192.tar.xz usdx-500ed11176dd759e90b6a9e463743dfbbb17c192.zip |
libGL.so changed to libGL.so.1 as on fedora with nvidia cards /usr/lib/libGL.so is not usable. There is an additional directory /usr/lib/nvidia with the correct libs but it does not contain libGL.so, just libGL.so.1. So the latter is mandatory.
-> We really should use the pkg_config values instead of hard-coded links :(
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1515 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/lib/JEDI-SDL/OpenGL/Pas/glx.pas')
-rw-r--r-- | src/lib/JEDI-SDL/OpenGL/Pas/glx.pas | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/JEDI-SDL/OpenGL/Pas/glx.pas b/src/lib/JEDI-SDL/OpenGL/Pas/glx.pas index f43a4e4c..9f36d2b5 100644 --- a/src/lib/JEDI-SDL/OpenGL/Pas/glx.pas +++ b/src/lib/JEDI-SDL/OpenGL/Pas/glx.pas @@ -266,8 +266,7 @@ end; function InitGLX: Boolean; begin - Result := InitGLXFromLibrary('libGL.so') or - InitGLXFromLibrary('libGL.so.1') or + Result := InitGLXFromLibrary('libGL.so.1') or InitGLXFromLibrary('libMesaGL.so') or InitGLXFromLibrary('libMesaGL.so.3'); end; |