aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Menu
diff options
context:
space:
mode:
authorb1indy <b1indy@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-04-24 19:57:28 +0000
committerb1indy <b1indy@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-04-24 19:57:28 +0000
commit019b5bf1730eab1c5b69a0cf1f805b3aa8566b6b (patch)
tree7e46ce05f5b44c59493e6a59d3a2a96afd243eb5 /Game/Code/Menu
parentd5cbbd6e1fa5934a79f9bdd63dca5778d5d177e0 (diff)
downloadusdx-019b5bf1730eab1c5b69a0cf1f805b3aa8566b6b.tar.gz
usdx-019b5bf1730eab1c5b69a0cf1f805b3aa8566b6b.tar.xz
usdx-019b5bf1730eab1c5b69a0cf1f805b3aa8566b6b.zip
just to test something
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@137 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Menu/UDisplay.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/Game/Code/Menu/UDisplay.pas b/Game/Code/Menu/UDisplay.pas
index 9d13d2a6..19266414 100644
--- a/Game/Code/Menu/UDisplay.pas
+++ b/Game/Code/Menu/UDisplay.pas
@@ -143,12 +143,12 @@ begin
ActualScreen.Draw;
glBindTexture(GL_TEXTURE_2D, pTex[S]);
glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 0, 0, 512, 512, 0);
- glViewPort((S-1) * ScreenW div Screens, 0, ScreenW div Screens, ScreenH);
if glGetError <> GL_NO_ERROR then
begin
canFade := False;
showmessage('Fehler beim Kopieren der Fade-Textur... Fading deaktiviert');
end;
+ glViewPort((S-1) * ScreenW div Screens, 0, ScreenW div Screens, ScreenH);
NextScreen.onShow;
lastTime:=GetTickCount;
if (S=2) or (Screens = 1) then