aboutsummaryrefslogtreecommitdiffstats
path: root/Game
diff options
context:
space:
mode:
Diffstat (limited to 'Game')
-rw-r--r--Game/Code/lib/JEDI-SDL/OpenGL/Pas/opengl12.pas2
1 files changed, 2 insertions, 0 deletions
diff --git a/Game/Code/lib/JEDI-SDL/OpenGL/Pas/opengl12.pas b/Game/Code/lib/JEDI-SDL/OpenGL/Pas/opengl12.pas
index dd27bfbc..f7d2f352 100644
--- a/Game/Code/lib/JEDI-SDL/OpenGL/Pas/opengl12.pas
+++ b/Game/Code/lib/JEDI-SDL/OpenGL/Pas/opengl12.pas
@@ -8064,7 +8064,9 @@ begin
if GLUHandle <> INVALID_MODULEHANDLE then
begin
+ {$IFDEF KYLIX}
GLHandle := TModuleHandle(GLUHandle); // Kylix compatiblilty trick
+ {$ENDIF}
gluBeginCurve := GetModuleSymbol( GLUHandle, 'gluBeginCurve');
gluBeginPolygon := GetModuleSymbol( GLUHandle, 'gluBeginPolygon');