summaryrefslogtreecommitdiff
path: root/tests/modetest/modetest.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-11-02 11:21:56 -0700
committerEric Anholt <eric@anholt.net>2010-11-02 11:32:32 -0700
commita52e61b5c888444435929a2770f14109c3a94f2f (patch)
tree1be1a7ce281e24fffb0b3464812ad2058849ae97 /tests/modetest/modetest.c
parent4abb65f95c79c9a2ec2cc1147a753704b5cdd22e (diff)
intel: Drop silly asserts on mappings present at unmap time.
The intent of these was to catch mismatched map/unmap. What it actually did was check whether there was ever a mapping of that type (including in a previous life of the buffer through the userland BO cache), not whether they were mismatched. We don't even actually want to catch mismatched map/unmap, unless we also do refcounting, since at one point Mesa would do map/map/use/unmap/unmap. Just remove this code instead.
Diffstat (limited to 'tests/modetest/modetest.c')
0 files changed, 0 insertions, 0 deletions