vbo: map indirect buffer and extract params if doing sw primitive restart
authorChris Forbes <chrisf@ijw.co.nz>
Sun, 13 Oct 2013 08:00:58 +0000 (21:00 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Mon, 25 Nov 2013 09:01:36 +0000 (22:01 +1300)
commit093965f9e397aa9a06b3d40c265c35653184dd0c
treedece6c5a39afeed59cfa540f2274477f0bd40aed
parent3953766e57f96be754229bb109ba5dfdcdbc8b50
vbo: map indirect buffer and extract params if doing sw primitive restart

V2: Check for mapping failure (thanks Brian)
V3: - Change error on mapping failure to OUT_OF_MEMORY (Brian)
    - Unconst; remove casting away of const.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/vbo/vbo_primitive_restart.c