diff options
author | eddie-0815 <eddie-0815@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-11-22 23:46:45 +0000 |
---|---|---|
committer | eddie-0815 <eddie-0815@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-11-22 23:46:45 +0000 |
commit | ffd5802b61992b3b6a5f891036c1717fa4de7d6b (patch) | |
tree | bbd0bbb533699027ee299db1648dcbcd2d39b219 /Game/Code/Menu | |
parent | 3d2e9f4f029c5bb8868bb438d677c724ff6a2609 (diff) | |
download | usdx-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 'Game/Code/Menu')
-rw-r--r-- | Game/Code/Menu/UMenu.pas | 1 |
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); |