summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/intel/intel_blit.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-12-15 11:54:38 -0800
committerEric Anholt <eric@anholt.net>2010-12-16 10:48:19 -0800
commitec03b316b4dc5d56b8510cc5aeb0f71a4fdada18 (patch)
treede67bc0856eb62785c25da91adb34feed41326de /src/mesa/drivers/dri/intel/intel_blit.h
parente65c643792d1327a0a491f5d4a707467a6955746 (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/drivers/dri/intel/intel_blit.h')
0 files changed, 0 insertions, 0 deletions