st/dri: Add missing front buffer case in dri_get_buffers().
authorMichel Dänzer <daenzer@vmware.com>
Wed, 7 Oct 2009 14:36:39 +0000 (16:36 +0200)
committerMichel Dänzer <daenzer@vmware.com>
Wed, 7 Oct 2009 14:36:39 +0000 (16:36 +0200)
commitde81b2cf0a465e2c6c43c7f9f864129728b3a080
treefaaece79f5b8bec84c243c7acf7a60fec1befe41
parent0f0127f6f9ee6c976c707cd406bf392aea978976
st/dri: Add missing front buffer case in dri_get_buffers().

This seems to help for compiz at least with some drivers.

Also add an assert(0) to catch unhandled cases in the future.
src/gallium/state_trackers/dri/dri_drawable.c