aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Menu
diff options
context:
space:
mode:
authoreddie-0815 <eddie-0815@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-11-22 23:46:45 +0000
committereddie-0815 <eddie-0815@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-11-22 23:46:45 +0000
commitffd5802b61992b3b6a5f891036c1717fa4de7d6b (patch)
treebbd0bbb533699027ee299db1648dcbcd2d39b219 /Game/Code/Menu
parent3d2e9f4f029c5bb8868bb438d677c724ff6a2609 (diff)
downloadusdx-ffd5802b61992b3b6a5f891036c1717fa4de7d6b.tar.gz
usdx-ffd5802b61992b3b6a5f891036c1717fa4de7d6b.tar.xz
usdx-ffd5802b61992b3b6a5f891036c1717fa4de7d6b.zip
Fixed texture drawing on Mac OS X (looks like BackImg.Z was not initialized). Now BackImg.Z is set to 0.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@629 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Menu/UMenu.pas1
1 files changed, 1 insertions, 0 deletions
diff --git a/Game/Code/Menu/UMenu.pas b/Game/Code/Menu/UMenu.pas
index 84cbe8a3..99f10c08 100644
--- a/Game/Code/Menu/UMenu.pas
+++ b/Game/Code/Menu/UMenu.pas
@@ -767,6 +767,7 @@ begin
BackImg.Y:=BackW; }
BackImg.X := 0;
BackImg.Y := 0;
+ BackImg.Z := 0; // todo: eddie: to the opengl experts: please check this! On the mac z is not initialized???
BackImg.W := 800;
BackImg.H := 600;
DrawTexture(BackImg);