The clear color in the r200 driver in the radeon rewrite branch is wrong. Since patch f616995e5ed56745c4470b2ca5aeeb8d89a8c9db it is always black. Before that patch, the red and blue channel were swapped(ie, glClearColor(1.0, 0.0, 0.0, 0.0) cleared the color buffer with a solid blue).
I have reproduced this in all Direct3D 8 sdk samples(running in Wine, as usual), but I think it should be visible in any app where the clear background is visible. The mfcfog example is comfortable for testing this because it clears the back buffer with a configurable color.
Fixed with 8308bf9ee155b405ad42e6621daf33a108330418, note that there are still other issues (for instance dinoshade example of mesa will exhibit them) working on it. Closing this bug.
The background color in etracer works now, thanks!
Unfortunately the clear color in the DX8 fog sample is still black, instead of the selected fog color(the demo clears the back buffer with the color it uses for fog before drawing). I'll file another bug that concerns these SDK samples and add some download instructions.
The problem does not occur in every app that is run with Wine. The Wine regression tests clear correctly.
I posted details about the DX8 sdk samples in bug 21842.
This bug seems to have fixed itself together with bug 21842. Maybe there is some uninitialized variable somewhere :-/.
Mark as fixed
on Jan 21, 2017 at 23:39:01.
(provided by the Example extension).