aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Screens
diff options
context:
space:
mode:
authorjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-09-21 00:55:56 +0000
committerjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-09-21 00:55:56 +0000
commitf0a22b8ae97aebaf6dc4a9924a22204bc9e3a306 (patch)
treeb05563641f053143391996530934bd3e08c061c3 /Game/Code/Screens
parentcac6be301884b2c0f0b968ff156631cdda9d0410 (diff)
downloadusdx-f0a22b8ae97aebaf6dc4a9924a22204bc9e3a306.tar.gz
usdx-f0a22b8ae97aebaf6dc4a9924a22204bc9e3a306.tar.xz
usdx-f0a22b8ae97aebaf6dc4a9924a22204bc9e3a306.zip
added sdl_image to project uses clause
and fixed credits screen to compile in lazarus / linux after the minor changes, to use sdl_image git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@425 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Screens/UScreenCredits.pas9
1 files changed, 8 insertions, 1 deletions
diff --git a/Game/Code/Screens/UScreenCredits.pas b/Game/Code/Screens/UScreenCredits.pas
index 30237f95..7b5e4c00 100644
--- a/Game/Code/Screens/UScreenCredits.pas
+++ b/Game/Code/Screens/UScreenCredits.pas
@@ -2,6 +2,13 @@ unit UScreenCredits;
interface
+{$IFDEF FPC}
+ {$MODE DELPHI}
+{$ENDIF}
+
+{$I switches.inc}
+
+
uses
UMenu,
SDL,
@@ -313,7 +320,7 @@ begin
glGenTextures(1,@myTex);
glBindTexture(GL_TEXTURE_2D, myTex);
glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR );
- glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR );
+ glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR );
glTexImage2D( GL_TEXTURE_2D, 0, 4, myconvertedsdlimage^.w, myconvertedsdlimage^.h, 0,
GL_RGBA, GL_UNSIGNED_BYTE, myconvertedsdlimage^.pixels );
SDL_FreeSurface(mysdlimage);