diff options
author | Nicolai Haehnle <[email protected]> | 2008-06-30 00:44:26 +0200 |
---|---|---|
committer | Nicolai Haehnle <[email protected]> | 2008-06-30 00:49:00 +0200 |
commit | 4002b75e6267ecd0f9e3093e221e34ed5c8485d4 (patch) | |
tree | db290fbec2d9c71d72444e857a5bd0138a48a494 /src/glx/mini | |
parent | a74d22ba715da5e52efb15aebd15a74851f87d43 (diff) |
r300: Cleanup LodBias support
. There is both a per-texture unit and a per-texture object (at least for
OpenGL 1.4); this should now be supported properly.
. The LOD bias calculation in r300_state has been simplified and corrected
(need to multiply by 32 instead of 31, and ensure clamping)
. do not clamp LOD bias in TexEnv, as that behaviour conflicts with what
the spec says
. set Const.MaxTextureLodBias properly
. remove the no_neg_lod_bias property; if somebody can explain what
it's good for, we can add it back in, but according to Google, nobody
seems to use it
. removed some dead code and unused variables
Diffstat (limited to 'src/glx/mini')
0 files changed, 0 insertions, 0 deletions