Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
3b9f8855
Commit
3b9f8855
authored
Sep 20, 2011
by
Stefan Dösinger
Committed by
Alexandre Julliard
Sep 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36/tests: Account for NP2 limitations in a texture test.
parent
b97b577e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
texture.c
dlls/d3dx9_36/tests/texture.c
+4
-1
No files found.
dlls/d3dx9_36/tests/texture.c
View file @
3b9f8855
...
...
@@ -100,7 +100,10 @@ static void test_D3DXCheckTextureRequirements(IDirect3DDevice9 *device)
width
=
caps
.
MaxTextureWidth
-
1
;
hr
=
D3DXCheckTextureRequirements
(
device
,
&
width
,
NULL
,
NULL
,
0
,
NULL
,
D3DPOOL_DEFAULT
);
ok
(
hr
==
D3D_OK
,
"D3DXCheckTextureRequirements returned %#x, expected %#x
\n
"
,
hr
,
D3D_OK
);
ok
(
width
==
caps
.
MaxTextureWidth
-
1
,
"Returned width %d, expected %d
\n
"
,
width
,
caps
.
MaxTextureWidth
-
1
);
if
(
caps
.
TextureCaps
&
D3DPTEXTURECAPS_POW2
)
ok
(
width
==
caps
.
MaxTextureWidth
,
"Returned width %d, expected %d
\n
"
,
width
,
caps
.
MaxTextureWidth
);
else
ok
(
width
==
caps
.
MaxTextureWidth
-
1
,
"Returned width %d, expected %d
\n
"
,
width
,
caps
.
MaxTextureWidth
-
1
);
/* mipmaps */
width
=
64
;
height
=
63
;
...
...
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