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
4b55964a
Commit
4b55964a
authored
Sep 24, 2006
by
Roderick Colenbrander
Committed by
Alexandre Julliard
Sep 26, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add the missing gamma cap.
parent
bbf796c7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
directx.c
dlls/wined3d/directx.c
+3
-2
wined3d_types.h
include/wine/wined3d_types.h
+9
-0
No files found.
dlls/wined3d/directx.c
View file @
4b55964a
...
@@ -1822,8 +1822,9 @@ static HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter,
...
@@ -1822,8 +1822,9 @@ static HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter,
*
pCaps
->
AdapterOrdinal
=
Adapter
;
*
pCaps
->
AdapterOrdinal
=
Adapter
;
*
pCaps
->
Caps
=
0
;
*
pCaps
->
Caps
=
0
;
*
pCaps
->
Caps2
=
D3DCAPS2_CANRENDERWINDOWED
;
*
pCaps
->
Caps2
=
WINED3DCAPS2_CANRENDERWINDOWED
|
*
pCaps
->
Caps3
=
WINED3DDEVCAPS_HWTRANSFORMANDLIGHT
;
WINED3DCAPS2_FULLSCREENGAMMA
;
*
pCaps
->
Caps3
=
0
;
*
pCaps
->
PresentationIntervals
=
D3DPRESENT_INTERVAL_IMMEDIATE
;
*
pCaps
->
PresentationIntervals
=
D3DPRESENT_INTERVAL_IMMEDIATE
;
*
pCaps
->
CursorCaps
=
0
;
*
pCaps
->
CursorCaps
=
0
;
...
...
include/wine/wined3d_types.h
View file @
4b55964a
...
@@ -1046,6 +1046,15 @@ typedef enum _WINED3DSURFTYPE {
...
@@ -1046,6 +1046,15 @@ typedef enum _WINED3DSURFTYPE {
SURFACE_XRENDER
/* Future dreams: Use XRENDER / EXA / whatever stuff */
SURFACE_XRENDER
/* Future dreams: Use XRENDER / EXA / whatever stuff */
}
WINED3DSURFTYPE
;
}
WINED3DSURFTYPE
;
#define WINED3DCAPS2_NO2DDURING3DSCENE 0x00000002L
#define WINED3DCAPS2_FULLSCREENGAMMA 0x00020000L
#define WINED3DCAPS2_CANRENDERWINDOWED 0x00080000L
#define WINED3DCAPS2_CANCALIBRATEGAMMA 0x00100000L
#define WINED3DCAPS2_RESERVED 0x02000000L
#define WINED3DCAPS2_CANMANAGERESOURCE 0x10000000L
#define WINED3DCAPS2_DYNAMICTEXTURES 0x20000000L
#define WINED3DCAPS2_CANAUTOGENMIPMAP 0x40000000L
#define WINED3DPRASTERCAPS_DITHER 0x00000001L
#define WINED3DPRASTERCAPS_DITHER 0x00000001L
#define WINED3DPRASTERCAPS_ROP2 0x00000002L
#define WINED3DPRASTERCAPS_ROP2 0x00000002L
#define WINED3DPRASTERCAPS_XOR 0x00000004L
#define WINED3DPRASTERCAPS_XOR 0x00000004L
...
...
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