diff options
author | Ilia Mirkin <[email protected]> | 2016-08-20 16:10:20 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-08-23 18:30:30 -0400 |
commit | 528390021fdda0d8b39a50762003af743a22ff9f (patch) | |
tree | acffd1a580fb77f4ed3ac851335cb02af8aa1f34 /src/mesa/drivers/dri/radeon | |
parent | 092f994a034b718f6170c631655ccaba8d2aa768 (diff) |
dri: add a way to request that modes have matching color/zs depths
Some GPUs, notably nv3x/nv4x can't render to mismatched color/zs
framebuffer depths. Fallbacks can be done by the driver, with shadow
surfaces, but no reason to encourage applications to select non-matching
glx visuals.
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c index 98b4741b456..9a075351558 100644 --- a/src/mesa/drivers/dri/radeon/radeon_screen.c +++ b/src/mesa/drivers/dri/radeon/radeon_screen.c @@ -813,7 +813,7 @@ __DRIconfig **radeonInitScreen2(__DRIscreen *psp) ARRAY_SIZE(back_buffer_modes), msaa_samples_array, ARRAY_SIZE(msaa_samples_array), - GL_TRUE); + GL_TRUE, GL_FALSE); configs = driConcatConfigs(configs, new_configs); } |