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
75ebf29e
Commit
75ebf29e
authored
Feb 15, 2007
by
H. Verbeet
Committed by
Alexandre Julliard
Feb 15, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of any remaining d3d9 stuff in surface.c and surface_gdi.c.
parent
1a07d314
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
surface.c
dlls/wined3d/surface.c
+3
-3
surface_gdi.c
dlls/wined3d/surface_gdi.c
+3
-3
No files found.
dlls/wined3d/surface.c
View file @
75ebf29e
...
...
@@ -590,7 +590,7 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_LockRect(IWineD3DSurface *iface, WINED
(
pRect
->
bottom
>
This
->
currentDesc
.
Height
))
{
WARN
(
" Invalid values in pRect !!!
\n
"
);
return
D3DERR_INVALIDCALL
;
return
WINE
D3DERR_INVALIDCALL
;
}
if
(
This
->
resource
.
format
==
WINED3DFMT_DXT1
)
{
/* DXT1 is half byte per pixel */
...
...
@@ -1330,7 +1330,7 @@ HRESULT WINAPI IWineD3DSurfaceImpl_ReleaseDC(IWineD3DSurface *iface, HDC hDC) {
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
hDC
);
if
(
!
(
This
->
Flags
&
SFLAG_DCINUSE
))
return
D3DERR_INVALIDCALL
;
return
WINE
D3DERR_INVALIDCALL
;
/* we locked first, so unlock now */
IWineD3DSurface_UnlockRect
(
iface
);
...
...
@@ -2415,7 +2415,7 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, RECT *
if
(
dstSwapchain
->
backBuffer
&&
((
IWineD3DSurface
*
)
This
==
dstSwapchain
->
frontBuffer
)
&&
SrcSurface
==
dstSwapchain
->
backBuffer
[
0
]
)
{
D3DSWAPEFFECT
orig_swap
=
dstSwapchain
->
presentParms
.
SwapEffect
;
WINE
D3DSWAPEFFECT
orig_swap
=
dstSwapchain
->
presentParms
.
SwapEffect
;
/* The idea behind this is that a glReadPixels and a glDrawPixels call
* take very long, while a flip is fast.
...
...
dlls/wined3d/surface_gdi.c
View file @
75ebf29e
...
...
@@ -164,7 +164,7 @@ IWineGDISurfaceImpl_LockRect(IWineD3DSurface *iface,
{
ERR
(
"(%p) Surface already locked
\n
"
,
This
);
/* What should I return here? */
return
D3DERR_INVALIDCALL
;
return
WINE
D3DERR_INVALIDCALL
;
}
if
(
!
(
This
->
Flags
&
SFLAG_LOCKABLE
))
...
...
@@ -217,7 +217,7 @@ IWineGDISurfaceImpl_LockRect(IWineD3DSurface *iface,
(
pRect
->
bottom
>
This
->
currentDesc
.
Height
))
{
WARN
(
" Invalid values in pRect !!!
\n
"
);
return
D3DERR_INVALIDCALL
;
return
WINE
D3DERR_INVALIDCALL
;
}
if
(
This
->
resource
.
format
==
WINED3DFMT_DXT1
)
...
...
@@ -1377,7 +1377,7 @@ HRESULT WINAPI
IWineGDISurfaceImpl_LoadTexture
(
IWineD3DSurface
*
iface
)
{
ERR
(
"Unsupported on X11 surfaces
\n
"
);
return
D3DERR_INVALIDCALL
;
return
WINE
D3DERR_INVALIDCALL
;
}
/*****************************************************************************
...
...
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