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
17a687a1
Commit
17a687a1
authored
Jul 15, 2023
by
Matteo Bruni
Committed by
Alexandre Julliard
Apr 26, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9/tests: Test creating a texture on a NULL HWND device.
parent
a9604de2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
visual.c
dlls/d3d9/tests/visual.c
+5
-0
No files found.
dlls/d3d9/tests/visual.c
View file @
17a687a1
...
...
@@ -26419,6 +26419,7 @@ static void test_nrm_instruction(void)
static
void
test_desktop_window
(
void
)
{
IDirect3DVertexShader9
*
shader
;
IDirect3DTexture9
*
texture
;
IDirect3DDevice9
*
device
;
unsigned
int
color
;
IDirect3D9
*
d3d
;
...
...
@@ -26476,6 +26477,10 @@ static void test_desktop_window(void)
device
=
create_device
(
d3d
,
NULL
,
NULL
,
TRUE
);
ok
(
device
!=
NULL
,
"Failed to create a D3D device
\n
"
);
hr
=
IDirect3DDevice9_CreateTexture
(
device
,
1
,
1
,
1
,
0
,
D3DFMT_A8R8G8B8
,
D3DPOOL_SYSTEMMEM
,
&
texture
,
NULL
);
ok
(
hr
==
D3D_OK
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
IDirect3DTexture9_Release
(
texture
);
hr
=
IDirect3DDevice9_GetDeviceCaps
(
device
,
&
caps
);
ok
(
SUCCEEDED
(
hr
),
"Failed to get device caps, hr %#lx.
\n
"
,
hr
);
if
(
caps
.
VertexShaderVersion
>=
D3DVS_VERSION
(
1
,
1
))
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