Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
36be22a6
Commit
36be22a6
authored
Dec 10, 2006
by
Chris Robinson
Committed by
Alexandre Julliard
Dec 11, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Reduce the number of error messages.
parent
d119fd44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
directx.c
dlls/wined3d/directx.c
+4
-4
No files found.
dlls/wined3d/directx.c
View file @
36be22a6
...
...
@@ -1391,7 +1391,6 @@ static BOOL IWineD3DImpl_IsGLXFBConfigCompatibleWithRenderFmt(Display *display,
if (type & GLX_COLOR_INDEX_BIT && 8 == buf_sz) return TRUE;
break;
default:
ERR("unsupported format %s\n", debug_d3dformat(Format));
break;
}
return FALSE;
...
...
@@ -1409,7 +1408,6 @@ switch (Format) {
case
WINED3DFMT_P8
:
return
TRUE
;
default:
ERR
(
"unsupported format %s
\n
"
,
debug_d3dformat
(
Format
));
break
;
}
return
FALSE
;
...
...
@@ -1451,7 +1449,6 @@ static BOOL IWineD3DImpl_IsGLXFBConfigCompatibleWithDepthFmt(Display *display, G
if (32 == db) return TRUE;
break;
default:
ERR("unsupported format %s\n", debug_d3dformat(Format));
break;
}
return FALSE;
...
...
@@ -1468,7 +1465,6 @@ static BOOL IWineD3DImpl_IsGLXFBConfigCompatibleWithDepthFmt(Display *display, G
case
WINED3DFMT_D32F_LOCKABLE
:
return
TRUE
;
default:
ERR
(
"unsupported format %s
\n
"
,
debug_d3dformat
(
Format
));
break
;
}
return
FALSE
;
...
...
@@ -1510,6 +1506,8 @@ static HRESULT WINAPI IWineD3DImpl_CheckDepthStencilMatch(IWineD3D *iface, UINT
}
}
XFree
(
cfgs
);
if
(
hr
!=
WINED3D_OK
)
ERR
(
"unsupported format pair: %s and %s
\n
"
,
debug_d3dformat
(
RenderTargetFormat
),
debug_d3dformat
(
DepthStencilFormat
));
}
else
{
ERR_
(
d3d_caps
)(
"returning WINED3D_OK even so CreateFakeGLContext or glXGetFBConfigs failed
\n
"
);
hr
=
WINED3D_OK
;
...
...
@@ -1587,6 +1585,8 @@ static HRESULT WINAPI IWineD3DImpl_CheckDeviceType(IWineD3D *iface, UINT Adapter
}
}
if
(
cfgs
)
XFree
(
cfgs
);
if
(
hr
!=
WINED3D_OK
)
ERR
(
"unsupported format %s
\n
"
,
debug_d3dformat
(
DisplayFormat
));
WineD3D_ReleaseFakeGLContext
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment