mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-25 11:20:49 +02:00
intel: Stop exposing useless 24 depth/0 stencil configs
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
This commit is contained in:
parent
6d91f9a024
commit
73e24cd5a7
1 changed files with 4 additions and 7 deletions
|
|
@ -399,16 +399,13 @@ __DRIconfig **intelInitScreen2(__DRIscreen *psp)
|
|||
if (fb_type[color] == GL_UNSIGNED_SHORT_5_6_5) {
|
||||
depth_bits[1] = 16;
|
||||
stencil_bits[1] = 0;
|
||||
|
||||
depth_factor = 2;
|
||||
} else {
|
||||
depth_bits[1] = 24;
|
||||
stencil_bits[1] = 0;
|
||||
depth_bits[2] = 24;
|
||||
stencil_bits[2] = 8;
|
||||
|
||||
depth_factor = 3;
|
||||
stencil_bits[1] = 8;
|
||||
}
|
||||
|
||||
depth_factor = 2;
|
||||
|
||||
new_configs = driCreateConfigs(fb_format[color], fb_type[color],
|
||||
depth_bits,
|
||||
stencil_bits,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue