diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-05-14 08:55:29 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-05-14 08:55:29 +0000 |
commit | d018df2903bb8952b9c452ad7f3ec8f6232155d5 (patch) | |
tree | d6cbed2edd108ca01c2c6c19849bda1b1fb5021f /Resources/Fonts/Bold/eurostar_regular_bold.png | |
parent | 63f6acfaa23d1404cea29c1b8492b095c03d2a93 (diff) | |
download | usdx-d018df2903bb8952b9c452ad7f3ec8f6232155d5.tar.gz usdx-d018df2903bb8952b9c452ad7f3ec8f6232155d5.tar.xz usdx-d018df2903bb8952b9c452ad7f3ec8f6232155d5.zip |
- bugfix: LoadTexture() did not initialize the TTexture result before it was returned in an error case, so for example the TexNum field was set to some undefined result. This bugfix also fixes the videoBG whitescreen bug. Probably it is better to convert TTexture from a record to a class, so we can do the initialization stuff in a constructor and free assigned textures (TexNum) in the destructor with glDeleteTextures. This may help with theme-switching too.
- added glext in UVideo.pas for GL_BGR, needed for accelerated colorspace conversion with swscale. This is disabled by default because it did not speed up that much in windows (also it was not slower). In Linux it seems to speeds up very well. 3ms instead of 7ms per frame.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1091 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Resources/Fonts/Bold/eurostar_regular_bold.png')
0 files changed, 0 insertions, 0 deletions