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
74cd90a1
Commit
74cd90a1
authored
Oct 24, 2006
by
Ivan Gyurdiev
Committed by
Alexandre Julliard
Oct 24, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: D3DLOCK: Use consistently in the WINED3D namespace.
parent
a8e5b9ae
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
surface_gdi.c
dlls/wined3d/surface_gdi.c
+2
-2
vertexbuffer.c
dlls/wined3d/vertexbuffer.c
+2
-2
No files found.
dlls/wined3d/surface_gdi.c
View file @
74cd90a1
...
...
@@ -541,7 +541,7 @@ IWineGDISurfaceImpl_Blt(IWineD3DSurface *iface,
{
if
(
Src
)
{
IWineD3DSurface_LockRect
(
SrcSurface
,
&
slock
,
NULL
,
D3DLOCK_READONLY
);
IWineD3DSurface_LockRect
(
SrcSurface
,
&
slock
,
NULL
,
WINE
D3DLOCK_READONLY
);
sfmt
=
Src
->
resource
.
format
;
}
sEntry
=
getFormatDescEntry
(
sfmt
);
...
...
@@ -1220,7 +1220,7 @@ IWineGDISurfaceImpl_BltFast(IWineD3DSurface *iface,
}
else
{
ret
=
IWineD3DSurface_LockRect
(
Source
,
&
slock
,
&
lock_src
,
D3DLOCK_READONLY
);
ret
=
IWineD3DSurface_LockRect
(
Source
,
&
slock
,
&
lock_src
,
WINE
D3DLOCK_READONLY
);
if
(
ret
!=
D3D_OK
)
goto
error
;
ret
=
IWineD3DSurface_LockRect
(
iface
,
&
dlock
,
&
lock_dst
,
0
);
if
(
ret
!=
D3D_OK
)
goto
error
;
...
...
dlls/wined3d/vertexbuffer.c
View file @
74cd90a1
...
...
@@ -451,9 +451,9 @@ static HRESULT WINAPI IWineD3DVertexBufferImpl_Lock(IWineD3DVertexBuffer *iface
TRACE
(
"Locking directly into the buffer
\n
"
);
if
((
This
->
resource
.
usage
&
WINED3DUSAGE_WRITEONLY
)
||
(
Flags
&
D3DLOCK_DISCARD
)
)
{
if
((
This
->
resource
.
usage
&
WINED3DUSAGE_WRITEONLY
)
||
(
Flags
&
WINE
D3DLOCK_DISCARD
)
)
{
mode
=
GL_WRITE_ONLY_ARB
;
}
else
if
(
Flags
&
(
D3DLOCK_READONLY
|
D3DLOCK_NO_DIRTY_UPDATE
)
)
{
}
else
if
(
Flags
&
(
WINED3DLOCK_READONLY
|
WINE
D3DLOCK_NO_DIRTY_UPDATE
)
)
{
mode
=
GL_READ_ONLY_ARB
;
}
...
...
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