wined3d: Always dump the fbo state on errors.

This commit is contained in:
Stefan Dösinger 2007-12-18 14:02:20 +01:00 committed by Alexandre Julliard
parent 78718a41c7
commit 30c1abb1eb
1 changed files with 10 additions and 13 deletions

View File

@ -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;