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
0146b556
Commit
0146b556
authored
Oct 22, 2012
by
Józef Kucia
Committed by
Alexandre Julliard
Oct 23, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9/tests: Add a simple test for filling compressed textures.
parent
15d64280
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
texture.c
dlls/d3dx9_36/tests/texture.c
+14
-0
No files found.
dlls/d3dx9_36/tests/texture.c
View file @
0146b556
...
...
@@ -1135,6 +1135,20 @@ static void test_D3DXFillTexture(IDirect3DDevice9 *device)
}
else
skip
(
"Failed to create D3DFMT_A32B32G32R32F texture
\n
"
);
/* test a compressed texture */
hr
=
IDirect3DDevice9_CreateTexture
(
device
,
4
,
4
,
1
,
0
,
D3DFMT_DXT1
,
D3DPOOL_MANAGED
,
&
tex
,
NULL
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
D3DXFillTexture
(
tex
,
fillfunc
,
NULL
);
todo_wine
ok
(
hr
==
D3D_OK
,
"D3DXFillTexture returned %#x, expected %#x
\n
"
,
hr
,
D3D_OK
);
IDirect3DTexture9_Release
(
tex
);
}
else
skip
(
"Failed to create D3DFMT_DXT1 texture
\n
"
);
}
static
void
WINAPI
fillfunc_cube
(
D3DXVECTOR4
*
value
,
const
D3DXVECTOR3
*
texcoord
,
...
...
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