aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffmpeg/avformat.pas
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-04-25 17:14:14 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-04-25 17:14:14 +0000
commitd142fd8700057ad284e2620076d6716387f3cd63 (patch)
tree525aa81095befe11ea2a195d2c9a9c0db0a226f5 /src/lib/ffmpeg/avformat.pas
parent666189bdf771731b25ade3eaf4db82dac2343a64 (diff)
downloadusdx-d142fd8700057ad284e2620076d6716387f3cd63.tar.gz
usdx-d142fd8700057ad284e2620076d6716387f3cd63.tar.xz
usdx-d142fd8700057ad284e2620076d6716387f3cd63.zip
wrong usage of glTexEnvi fixed
- the environment must be GL_TEXTURE_ENV and not GL_TEXTURE_2D - it must be set before a draw function (glBegin(), ...) and not before glTexImage2D() as the current texture will not store this setting (the setting is global for all textures). - the setting must be set to the default (GL_MODULATE) after usage, otherwise later opengl drawing calls will be unwantedly affected too. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2309 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/lib/ffmpeg/avformat.pas')
0 files changed, 0 insertions, 0 deletions