aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/TextGL.pas
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-03-09 18:48:19 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-03-09 18:48:19 +0000
commit65ba06b73c91c92a99f2ed88432e05a1b694531d (patch)
tree412b8cacd259e0271984c1f7306865ec0144e600 /Game/Code/Classes/TextGL.pas
parentaceec1dc77e57c20d73e2430c0168a6449b46210 (diff)
downloadusdx-65ba06b73c91c92a99f2ed88432e05a1b694531d.tar.gz
usdx-65ba06b73c91c92a99f2ed88432e05a1b694531d.tar.xz
usdx-65ba06b73c91c92a99f2ed88432e05a1b694531d.zip
Fixed some warnings ("missing result-values", "0 instead of nil", "comparison is always true", "range check errors")
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@946 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Classes/TextGL.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/Game/Code/Classes/TextGL.pas b/Game/Code/Classes/TextGL.pas
index c29648c3..314d31de 100644
--- a/Game/Code/Classes/TextGL.pas
+++ b/Game/Code/Classes/TextGL.pas
@@ -434,7 +434,7 @@ intermediary := SDL_CreateRGBSurface(0, w, h, 32,
SDL_SetAlpha(intermediary, 0, 255);
SDL_SetAlpha(sText, 0, 255);
- SDL_BlitSurface(sText, 0, intermediary, 0);
+ SDL_BlitSurface(sText, nil, intermediary, nil);
glGenTextures(1, @texture);