diff options
author | Chad Versace <[email protected]> | 2011-05-26 14:55:54 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2011-06-08 10:06:40 -0700 |
commit | f4efb7ff4f9cb0f6386e9b53f4dcfd9ef23dc9d1 (patch) | |
tree | 88c58655c7a99de52222182d26c6daff8e90ec1c /src/mesa/drivers/dri/sis/sis_context.h | |
parent | 89d34cfd3e7c96cefc489fbb995124e2dc4a97ec (diff) |
intel: Add assertions to intelCreateBuffer()
Assert that the GLX config has an expected depth/stencil bit combination:
one of d24/s8, d16/s0, d0/s0. These are the only depth/stencil
configurations that we advertise.
Remove the check for software stencil, because given the assertions'
constraints the check always fails.
CC: Ian Romanick <[email protected]>
CC: Kristian Høgsberg <[email protected]>
Acked-by: Eric Anholt <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Signed-off-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/sis/sis_context.h')
0 files changed, 0 insertions, 0 deletions