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
bf591220
Commit
bf591220
authored
Dec 22, 2008
by
Rico Schüller
Committed by
Alexandre Julliard
Dec 22, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9/tests: Don't create a Null-shader in d3d9, it will crash.
parent
e65195f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
shader.c
dlls/d3d9/tests/shader.c
+0
-8
No files found.
dlls/d3d9/tests/shader.c
View file @
bf591220
...
...
@@ -91,10 +91,6 @@ static void test_get_set_vertex_shader(IDirect3DDevice9 *device_ptr)
int
shader_refcount
=
0
;
int
i
=
0
;
hret
=
IDirect3DDevice9_CreateVertexShader
(
device_ptr
,
NULL
,
&
shader_ptr
);
ok
(
hret
==
D3DERR_INVALIDCALL
,
"CreateVertexShader returned %#x, expected D3DERR_INVALIDCALL (%#x).
\n
"
,
hret
,
D3DERR_INVALIDCALL
);
hret
=
IDirect3DDevice9_CreateVertexShader
(
device_ptr
,
simple_vs
,
&
shader_ptr
);
ok
(
hret
==
D3D_OK
&&
shader_ptr
!=
NULL
,
"CreateVertexShader returned: hret 0x%x, shader_ptr %p. "
"Expected hret 0x%x, shader_ptr != %p. Aborting.
\n
"
,
hret
,
shader_ptr
,
D3D_OK
,
NULL
);
...
...
@@ -159,10 +155,6 @@ static void test_get_set_pixel_shader(IDirect3DDevice9 *device_ptr)
int
shader_refcount
=
0
;
int
i
=
0
;
hret
=
IDirect3DDevice9_CreatePixelShader
(
device_ptr
,
NULL
,
&
shader_ptr
);
ok
(
hret
==
D3DERR_INVALIDCALL
,
"CreatePixelShader returned %#x, expected D3DERR_INVALIDCALL (%#x).
\n
"
,
hret
,
D3DERR_INVALIDCALL
);
hret
=
IDirect3DDevice9_CreatePixelShader
(
device_ptr
,
simple_ps
,
&
shader_ptr
);
ok
(
hret
==
D3D_OK
&&
shader_ptr
!=
NULL
,
"CreatePixelShader returned: hret 0x%x, shader_ptr %p. "
"Expected hret 0x%x, shader_ptr != %p. Aborting.
\n
"
,
hret
,
shader_ptr
,
D3D_OK
,
NULL
);
...
...
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