diff options
author | b1indy <b1indy@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-08-22 08:53:14 +0000 |
---|---|---|
committer | b1indy <b1indy@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-08-22 08:53:14 +0000 |
commit | 1492c2f949ded1bfc34623676d132cb07fb5ba1f (patch) | |
tree | 09dedf33feae0a960c3d94a9e4f82264a8a29371 | |
parent | 7c7e9d3ce5bb706ae0edd0e6802fed873aab1bb0 (diff) | |
download | usdx-1492c2f949ded1bfc34623676d132cb07fb5ba1f.tar.gz usdx-1492c2f949ded1bfc34623676d132cb07fb5ba1f.tar.xz usdx-1492c2f949ded1bfc34623676d132cb07fb5ba1f.zip |
now the background is black
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@351 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r-- | Game/Code/SMpeg/Uffmpeg.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Game/Code/SMpeg/Uffmpeg.pas b/Game/Code/SMpeg/Uffmpeg.pas index 2b8f1f44..753d3dd9 100644 --- a/Game/Code/SMpeg/Uffmpeg.pas +++ b/Game/Code/SMpeg/Uffmpeg.pas @@ -247,7 +247,7 @@ procedure FFmpegDrawGL; begin
if not VideoOpened then Exit;
glClearColor(0,0,0,0);
- glClear(GL_COLOR_BUFFER_BIT and GL_DEPTH_BUFFER_BIT);
+ glClear(GL_COLOR_BUFFER_BIT or GL_DEPTH_BUFFER_BIT);
glEnable(GL_TEXTURE_2D);
glEnable(GL_BLEND);
glColor4f(1, 1, 1, 1);
|