diff options
author | Corey Richardson <[email protected]> | 2013-07-31 10:46:12 -0400 |
---|---|---|
committer | Matt Turner <[email protected]> | 2013-08-01 10:23:39 -0700 |
commit | abdbd02e5928c881510da0f76b4e49fd92ddfe50 (patch) | |
tree | 0674e2dd4785ea6b08b9e45004edfffb96c7e791 /scons | |
parent | 986ae4306cea787ed0c71a52b6e92fce14a2a498 (diff) |
Correct clamping of TEXTURE_{MAX, BASE}_LEVEL
Previously, if TEXTURE_IMMUTABLE_FORMAT was TRUE, the levels were allowed to
be set like usual, but ARB_texture_storage states:
> if TEXTURE_IMMUTABLE_FORMAT is TRUE, then level_base is clamped to the range
> [0, <levels> - 1] and level_max is then clamped to the range [level_base,
> <levels> - 1], where <levels> is the parameter passed the call to
> TexStorage* for the texture object
Reviewed-by: Matt Turner <[email protected]>
Signed-off-by: Corey Richardson <[email protected]>
Diffstat (limited to 'scons')
0 files changed, 0 insertions, 0 deletions