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
d255efbd
Commit
d255efbd
authored
Nov 24, 2011
by
Marcus Meissner
Committed by
Alexandre Julliard
Nov 25, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Check that surface is allocated (Coverity).
parent
56968fb3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
surface.c
dlls/d3d9/tests/surface.c
+2
-0
No files found.
dlls/d3d9/tests/surface.c
View file @
d255efbd
...
...
@@ -725,12 +725,14 @@ static void test_surface_lockrect_blocks(IDirect3DDevice9 *device)
ok
(
SUCCEEDED
(
hr
),
"IDirect3DTexture9_GetSurfaceLevel failed (%08x)
\n
"
,
hr
);
IDirect3DTexture9_Release
(
texture
);
}
if
(
FAILED
(
hr
))
continue
;
break
;
case
D3DPOOL_SCRATCH
:
hr
=
IDirect3DDevice9_CreateOffscreenPlainSurface
(
device
,
128
,
128
,
formats
[
i
].
fmt
,
pools
[
j
].
pool
,
&
surface
,
0
);
ok
(
SUCCEEDED
(
hr
),
"CreateOffscreenPlainSurface failed (%08x)
\n
"
,
hr
);
if
(
FAILED
(
hr
))
continue
;
break
;
default:
...
...
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