diff options
author | brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-05-25 15:38:35 +0000 |
---|---|---|
committer | brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-05-25 15:38:35 +0000 |
commit | 1387c764c8a0e33e8f58296d8544f2a03566c6a4 (patch) | |
tree | 70e4766c3fec1639fc6377e5d74292af0b2ae741 /VideoPreview/src/menu | |
parent | 87257c26b6392468e11835294fdcfd69b1fbec62 (diff) | |
download | usdx-1387c764c8a0e33e8f58296d8544f2a03566c6a4.tar.gz usdx-1387c764c8a0e33e8f58296d8544f2a03566c6a4.tar.xz usdx-1387c764c8a0e33e8f58296d8544f2a03566c6a4.zip |
modified aspect correction procedure.
added depth test for z-value handling.
fixed property height.
added DrawReflection procedure.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2420 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'VideoPreview/src/menu')
-rw-r--r-- | VideoPreview/src/menu/UMenuBackgroundVideo.pas | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/VideoPreview/src/menu/UMenuBackgroundVideo.pas b/VideoPreview/src/menu/UMenuBackgroundVideo.pas index b997807f..9a33e721 100644 --- a/VideoPreview/src/menu/UMenuBackgroundVideo.pas +++ b/VideoPreview/src/menu/UMenuBackgroundVideo.pas @@ -151,14 +151,13 @@ begin glClear(GL_DEPTH_BUFFER_BIT); // video failure -> draw blank background if (fBgVideo = nil) then - glClear(GL_COLOR_BUFFER_BIT); + glClear(GL_COLOR_BUFFER_BIT); end; if (fBgVideo <> nil) then begin fBgVideo.GetFrame(VideoBGTimer.GetTime()); - // FIXME: why do we draw on screen 2? Seems to be wrong. - fBgVideo.SetScreen(2); + fBgVideo.SetScreen(ScreenAct); fBgVideo.Draw(); end; end; |