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
2c1e8dec
Commit
2c1e8dec
authored
Jul 18, 2010
by
Florian Köberle
Committed by
Alexandre Julliard
Jul 19, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Let GetRasterStatus return D3DERR_INVALIDCALL.
parent
894a150f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
swapchain_base.c
dlls/wined3d/swapchain_base.c
+7
-4
No files found.
dlls/wined3d/swapchain_base.c
View file @
2c1e8dec
...
...
@@ -123,15 +123,18 @@ HRESULT WINAPI IWineD3DBaseSwapChainImpl_GetBackBuffer(IWineD3DSwapChain *iface,
HRESULT
WINAPI
IWineD3DBaseSwapChainImpl_GetRasterStatus
(
IWineD3DSwapChain
*
iface
,
WINED3DRASTER_STATUS
*
pRasterStatus
)
{
static
BOOL
warned
;
pRasterStatus
->
InVBlank
=
TRUE
;
pRasterStatus
->
ScanLine
=
0
;
/* No openGL equivalent */
/* No OpenGL equivalent */
if
(
!
warned
)
{
FIXME
(
"iface %p, raster_status %p stub!
\n
"
,
iface
,
pRasterStatus
);
warned
=
TRUE
;
}
return
WINED3D_OK
;
/* Obtaining the raster status is a widely implemented but optional feature.
* When this method returns OK then the application Starcraft 2 expects that
* the pRasterStatus->InVBlank value differs over time. To prevent Starcraft 2
* from running in an infinite loop at startup this method returns INVALIDCALL.
*/
return
WINED3DERR_INVALIDCALL
;
}
HRESULT
WINAPI
IWineD3DBaseSwapChainImpl_GetDisplayMode
(
IWineD3DSwapChain
*
iface
,
WINED3DDISPLAYMODE
*
pMode
)
{
...
...
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