radeon/dri2: if the depth buffer is 16-bit force cpp == 2
authorDave Airlie <airlied@redhat.com>
Tue, 31 Mar 2009 05:50:19 +0000 (15:50 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 31 Mar 2009 05:50:19 +0000 (15:50 +1000)
commitd81a48757a9bde35299fd7c3cfbe83885238409a
tree6475a424b74824f6148a0f5d098e7ccb659a7b07
parent2f3be8ab14d6f4a3cc44817f6f55bc640faadde0
radeon/dri2: if the depth buffer is 16-bit force cpp == 2

This is because the DDX always allocates using the drawable sizes.
which gives me twice the depth buffer I asked for, dumb.
src/mesa/drivers/dri/radeon/radeon_common_context.c