diff options
author | Brian Paul <[email protected]> | 2012-09-15 10:30:20 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-09-17 19:49:26 -0600 |
commit | ff24ed09fae56d1bfe844cb71a0aad5e9908cb55 (patch) | |
tree | ae96075538db2e3bb0d35a288b28c2f7bc2a34b9 /src/glx/packrender.h | |
parent | e6eaa85a43616ba6f431276ab94a3b19dd524986 (diff) |
mesa: rewrite glTexStorage() code
Simplify the code and make it more like the other glTexImage commands.
Call _mesa_legal_texture_dimensions() to validate width, height, depth.
Call ctx->Driver.TestProxyTexImage() to make sure texture is not too large.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/glx/packrender.h')
0 files changed, 0 insertions, 0 deletions