diff options
author | Adam Jackson <[email protected]> | 2019-09-06 11:51:23 -0400 |
---|---|---|
committer | Adam Jackson <[email protected]> | 2019-09-09 14:12:57 -0400 |
commit | 78e0fa6bb265afc11e7eab35ef6145b48b056ad0 (patch) | |
tree | e2a499e0b38a8cde0e74aa55f2a17a6fe842a17b /src/mesa/main/context.c | |
parent | c4990b7b19b5ea4ebec1fa4c4a94bfed33c34b9f (diff) |
mesa: Eliminate gl_config::have{Accum,Depth,Stencil}Buffer
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 0dd83e564b1..ee5eee32948 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -305,10 +305,6 @@ _mesa_initialize_visual( struct gl_config *vis, vis->accumBlueBits = accumBlueBits; vis->accumAlphaBits = accumAlphaBits; - vis->haveAccumBuffer = accumRedBits > 0; - vis->haveDepthBuffer = depthBits > 0; - vis->haveStencilBuffer = stencilBits > 0; - vis->numAuxBuffers = 0; vis->level = 0; vis->sampleBuffers = numSamples > 0 ? 1 : 0; |