diff options
author | Eric Anholt <[email protected]> | 2010-12-15 11:54:38 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-12-16 10:48:19 -0800 |
commit | ec03b316b4dc5d56b8510cc5aeb0f71a4fdada18 (patch) | |
tree | de67bc0856eb62785c25da91adb34feed41326de /src/mesa/program/prog_parameter_layout.h | |
parent | e65c643792d1327a0a491f5d4a707467a6955746 (diff) |
intel: Try to sanely check that formats match for CopyTexImage.
Before, we were going off of a couple of known (hopeful) matches
between internalFormats and the cpp of the read buffer. Instead, we
can now just look at the gl_format of the two to see if they match.
We should avoid bad blits that might have been possible before, but
also allow different internalFormats to work without having to
enumerate each one.
Diffstat (limited to 'src/mesa/program/prog_parameter_layout.h')
0 files changed, 0 insertions, 0 deletions