gallium: Only set FRONT_STATUS_COPY_OF_BACK if there is a back buffer.
authorMichel Dänzer <daenzer@vmware.com>
Tue, 7 Jul 2009 10:17:04 +0000 (12:17 +0200)
committerMichel Dänzer <daenzer@vmware.com>
Tue, 7 Jul 2009 10:17:04 +0000 (12:17 +0200)
commit96601ec8e0e35d540c1819a48df7f08ec5874ab7
treed6610e1b126b3297ac8ca859302cc303c58bb0d4
parenta4d952358d8fd0f9d135c91c37969acdcf394f0a
gallium: Only set FRONT_STATUS_COPY_OF_BACK if there is a back buffer.

Fixes potential crash when SwapBuffers is called but there's no back buffer.
src/mesa/state_tracker/st_framebuffer.c