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
708e2175
Commit
708e2175
authored
Feb 12, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Feb 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: ATI drivers do not handle D3DUSAGE_QUERY_LEGACYBUMPMAP properly.
parent
9850e4b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
visual.c
dlls/d3d9/tests/visual.c
+5
-1
No files found.
dlls/d3d9/tests/visual.c
View file @
708e2175
...
...
@@ -6468,10 +6468,14 @@ static void fixed_function_bumpmap_test(IDirect3DDevice9 *device)
skip
(
"D3DTEXOPCAPS_BUMPENVMAP not set, skipping bumpmap tests
\n
"
);
return
;
}
else
{
/* This check is disabled, some Windows drivers do not handle D3DUSAGE_QUERY_LEGACYBUMPMAP properly.
* They report that it is not supported, but after that bump mapping works properly. So just test
* if the format is generally supported, and check the BUMPENVMAP flag
*/
IDirect3D9
*
d3d9
;
IDirect3DDevice9_GetDirect3D
(
device
,
&
d3d9
);
hr
=
IDirect3D9_CheckDeviceFormat
(
d3d9
,
0
,
D3DDEVTYPE_HAL
,
D3DFMT_X8R8G8B8
,
D3DUSAGE_QUERY_LEGACYBUMPMAP
,
hr
=
IDirect3D9_CheckDeviceFormat
(
d3d9
,
0
,
D3DDEVTYPE_HAL
,
D3DFMT_X8R8G8B8
,
0
,
D3DRTYPE_TEXTURE
,
D3DFMT_V8U8
);
IDirect3D9_Release
(
d3d9
);
if
(
FAILED
(
hr
))
{
...
...
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