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
110facba
Commit
110facba
authored
Dec 08, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Dec 18, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Remove a few more incorrect D3DLOCK_DISCARDs.
parent
b4a0d478
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
visual.c
dlls/d3d9/tests/visual.c
+2
-2
No files found.
dlls/d3d9/tests/visual.c
View file @
110facba
...
...
@@ -873,7 +873,7 @@ static void test_cube_wrap(IDirect3DDevice9 *device)
D3DFMT_A8R8G8B8
,
D3DPOOL_SYSTEMMEM
,
&
surface
,
NULL
);
ok
(
SUCCEEDED
(
hr
),
"CreateOffscreenPlainSurface failed (0x%08x)
\n
"
,
hr
);
hr
=
IDirect3DSurface9_LockRect
(
surface
,
&
locked_rect
,
NULL
,
D3DLOCK_DISCARD
);
hr
=
IDirect3DSurface9_LockRect
(
surface
,
&
locked_rect
,
NULL
,
0
);
ok
(
SUCCEEDED
(
hr
),
"LockRect failed (0x%08x)
\n
"
,
hr
);
for
(
y
=
0
;
y
<
128
;
++
y
)
...
...
@@ -1378,7 +1378,7 @@ static void texbem_test(IDirect3DDevice9 *device)
D3DPOOL_MANAGED
,
&
texture
[
i
],
NULL
);
ok
(
SUCCEEDED
(
hr
),
"CreateTexture failed (0x%08x)
\n
"
,
hr
);
hr
=
IDirect3DTexture9_LockRect
(
texture
[
i
],
0
,
&
locked_rect
,
NULL
,
D3DLOCK_DISCARD
);
hr
=
IDirect3DTexture9_LockRect
(
texture
[
i
],
0
,
&
locked_rect
,
NULL
,
0
);
ok
(
SUCCEEDED
(
hr
),
"LockRect failed (0x%08x)
\n
"
,
hr
);
for
(
y
=
0
;
y
<
128
;
++
y
)
{
...
...
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