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
f8e8646f
Commit
f8e8646f
authored
May 09, 2006
by
Stefan Dösinger
Committed by
Alexandre Julliard
May 10, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Implement GetFlipStatus and GetBltStatus.
parent
cd05f9c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
4 deletions
+24
-4
surface.c
dlls/wined3d/surface.c
+24
-4
No files found.
dlls/wined3d/surface.c
View file @
f8e8646f
...
...
@@ -6,6 +6,7 @@
* Copyright 2002-2003 Raphael Junqueira
* Copyright 2004 Christian Costa
* Copyright 2005 Oliver Stieber
* Copyright 2006 Stefan Dsinger for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -1703,13 +1704,32 @@ HRESULT WINAPI IWineD3DSurfaceImpl_Blt(IWineD3DSurface *iface, RECT *DestRect, I
}
HRESULT
WINAPI
IWineD3DSurfaceImpl_GetBltStatus
(
IWineD3DSurface
*
iface
,
DWORD
Flags
)
{
FIXME
(
"This is unimplemented for now(d3d7 merge)
\n
"
);
return
WINED3DERR_INVALIDCALL
;
IWineD3DSurfaceImpl
*
This
=
(
IWineD3DSurfaceImpl
*
)
iface
;
TRACE
(
"(%p)->(%lx)
\n
"
,
This
,
Flags
);
switch
(
Flags
)
{
case
DDGBS_CANBLT
:
case
DDGBS_ISBLTDONE
:
return
DD_OK
;
default:
return
DDERR_INVALIDPARAMS
;
}
}
HRESULT
WINAPI
IWineD3DSurfaceImpl_GetFlipStatus
(
IWineD3DSurface
*
iface
,
DWORD
Flags
)
{
FIXME
(
"This is unimplemented for now(d3d7 merge)
\n
"
);
return
WINED3DERR_INVALIDCALL
;
/* XXX: DDERR_INVALIDSURFACETYPE */
TRACE
(
"(%p)->(%08lx)
\n
"
,
iface
,
Flags
);
switch
(
Flags
)
{
case
DDGFS_CANFLIP
:
case
DDGFS_ISFLIPDONE
:
return
DD_OK
;
default:
return
DDERR_INVALIDPARAMS
;
}
}
HRESULT
WINAPI
IWineD3DSurfaceImpl_IsLost
(
IWineD3DSurface
*
iface
)
{
...
...
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