summaryrefslogtreecommitdiffstats
path: root/docs/shading.html
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-01-10 12:04:21 -0800
committerKeith Whitwell <[email protected]>2010-01-11 10:53:02 +0000
commiteea6a7639f767b1d30b6ef1f91a9c49e3f3b78f0 (patch)
treea32a5e534d4385210ad1312a9bb20ec55aab8804 /docs/shading.html
parentbfcafbe15dc98d747ba4c63305c9cf2c4cdbe573 (diff)
Fix compressed texture loads for non-minimal pitches
The current glCompressedTexImage support in the state tracker assumes that compressed textures have minimal pitch. However, in some cases this is not true, such as for mipmaps of non-POT compressed textures on nVidia hardware. This patch adds a check and does a memcpy for each line instead of the whole image in that case. Signed-off-by: Keith Whitwell <[email protected]> Tweaks for C90 compilation.
Diffstat (limited to 'docs/shading.html')
0 files changed, 0 insertions, 0 deletions