diff options
author | Yuanhan Liu <[email protected]> | 2011-10-17 09:57:36 +0800 |
---|---|---|
committer | Yuanhan Liu <[email protected]> | 2011-10-19 09:25:30 +0800 |
commit | 9024d8af0ae832a0b4278eb6683bc0e76c69baac (patch) | |
tree | f7c58496d7bb47b65ff51c865ac3e9d651fdbea9 /docs/RELNOTES-4.0 | |
parent | 76669381c0de6a49a1edd0b88fa1ae6b86f10b30 (diff) |
mesa: generate error if pbo offset is not aligned with the size of specified type
v2: quote the spec; explicitly exclude the GL_BITMAP case to make code
more readable. (comments from Ian)
v3: Cast the offset by GLintptr to remove the compile warning(comments
from Brian).
I also found that I should use _mesa_sizeof_packed_type() instead,
as it includes packed pixel type, like GL_UNSIGNED_SHORT_5_6_5.
Signed-off-by: Yuanhan Liu <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'docs/RELNOTES-4.0')
0 files changed, 0 insertions, 0 deletions