wined3d: Always dump the fbo state on errors.
This commit is contained in:
parent
78718a41c7
commit
30c1abb1eb
|
@ -6192,13 +6192,11 @@ static void check_fbo_status(IWineD3DDevice *iface) {
|
|||
if (status == GL_FRAMEBUFFER_COMPLETE_EXT) {
|
||||
TRACE("FBO complete\n");
|
||||
} else {
|
||||
IWineD3DSurfaceImpl *attachment;
|
||||
int i;
|
||||
FIXME("FBO status %s (%#x)\n", debug_fbostatus(status), status);
|
||||
|
||||
/* Dump the FBO attachments */
|
||||
if (status == GL_FRAMEBUFFER_UNSUPPORTED_EXT) {
|
||||
IWineD3DSurfaceImpl *attachment;
|
||||
int i;
|
||||
|
||||
for (i = 0; i < GL_LIMITS(buffers); ++i) {
|
||||
attachment = (IWineD3DSurfaceImpl *)This->fbo_color_attachments[i];
|
||||
if (attachment) {
|
||||
|
@ -6213,7 +6211,6 @@ static void check_fbo_status(IWineD3DDevice *iface) {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static BOOL depth_mismatch_fbo(IWineD3DDevice *iface) {
|
||||
IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *)iface;
|
||||
|
|
Loading…
Reference in New Issue