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
3e77ffc5
Commit
3e77ffc5
authored
Feb 14, 2007
by
H. Verbeet
Committed by
Alexandre Julliard
Feb 15, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use WINED3DPRESENT_BACK_BUFFER_MAX rather than D3DPRESENT_BACK_BUFFER_MAX.
parent
d4d165af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
device.c
dlls/wined3d/device.c
+1
-1
wined3d_types.h
include/wine/wined3d_types.h
+2
-0
No files found.
dlls/wined3d/device.c
View file @
3e77ffc5
...
...
@@ -1247,7 +1247,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateAdditionalSwapChain(IWineD3DDevic
*******************************/
/* Check the params */
if
(
*
pPresentationParameters
->
BackBufferCount
>
D3DPRESENT_BACK_BUFFER_MAX
)
{
if
(
*
pPresentationParameters
->
BackBufferCount
>
WINE
D3DPRESENT_BACK_BUFFER_MAX
)
{
ERR
(
"App requested %d back buffers, this is not supported for now
\n
"
,
*
pPresentationParameters
->
BackBufferCount
);
return
WINED3DERR_INVALIDCALL
;
}
else
if
(
*
pPresentationParameters
->
BackBufferCount
>
1
)
{
...
...
include/wine/wined3d_types.h
View file @
3e77ffc5
...
...
@@ -621,6 +621,8 @@ typedef enum _WINED3DBACKBUFFER_TYPE {
WINED3DBACKBUFFER_TYPE_FORCE_DWORD
=
0x7fffffff
}
WINED3DBACKBUFFER_TYPE
;
#define WINED3DPRESENT_BACK_BUFFER_MAX 3
typedef
enum
_WINED3DSWAPEFFECT
{
WINED3DSWAPEFFECT_DISCARD
=
1
,
WINED3DSWAPEFFECT_FLIP
=
2
,
...
...
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