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
97b57931
Commit
97b57931
authored
Aug 19, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Aug 27, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Advertise a few line caps.
parent
6bbcc505
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
directx.c
dlls/wined3d/directx.c
+8
-6
d3d9caps.h
include/d3d9caps.h
+1
-0
wined3d_caps.h
include/wine/wined3d_caps.h
+1
-0
No files found.
dlls/wined3d/directx.c
View file @
97b57931
...
@@ -3252,12 +3252,14 @@ static HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter,
...
@@ -3252,12 +3252,14 @@ static HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter,
}
else
}
else
pCaps
->
VolumeTextureAddressCaps
=
0
;
pCaps
->
VolumeTextureAddressCaps
=
0
;
pCaps
->
LineCaps
=
WINED3DLINECAPS_TEXTURE
|
pCaps
->
LineCaps
=
WINED3DLINECAPS_TEXTURE
|
WINED3DLINECAPS_ZTEST
;
WINED3DLINECAPS_ZTEST
|
/* FIXME: Add
WINED3DLINECAPS_BLEND
|
WINED3DLINECAPS_BLEND
WINED3DLINECAPS_ALPHACMP
|
WINED3DLINECAPS_ALPHACMP
WINED3DLINECAPS_FOG
;
WINED3DLINECAPS_FOG */
/* WINED3DLINECAPS_ANTIALIAS is not supported on Windows, and dx and gl seem to have a different
* idea how generating the smoothing alpha values works; the result is different
*/
pCaps
->
MaxTextureWidth
=
GL_LIMITS
(
texture_size
);
pCaps
->
MaxTextureWidth
=
GL_LIMITS
(
texture_size
);
pCaps
->
MaxTextureHeight
=
GL_LIMITS
(
texture_size
);
pCaps
->
MaxTextureHeight
=
GL_LIMITS
(
texture_size
);
...
...
include/d3d9caps.h
View file @
97b57931
...
@@ -67,6 +67,7 @@
...
@@ -67,6 +67,7 @@
#define D3DLINECAPS_BLEND 0x04
#define D3DLINECAPS_BLEND 0x04
#define D3DLINECAPS_ALPHACMP 0x08
#define D3DLINECAPS_ALPHACMP 0x08
#define D3DLINECAPS_FOG 0x10
#define D3DLINECAPS_FOG 0x10
#define D3DLINECAPS_ANTIALIAS 0x20
#define D3DPBLENDCAPS_ZERO 0x00000001
#define D3DPBLENDCAPS_ZERO 0x00000001
#define D3DPBLENDCAPS_ONE 0x00000002
#define D3DPBLENDCAPS_ONE 0x00000002
...
...
include/wine/wined3d_caps.h
View file @
97b57931
...
@@ -53,6 +53,7 @@
...
@@ -53,6 +53,7 @@
#define WINED3DLINECAPS_BLEND 0x00000004
#define WINED3DLINECAPS_BLEND 0x00000004
#define WINED3DLINECAPS_ALPHACMP 0x00000008
#define WINED3DLINECAPS_ALPHACMP 0x00000008
#define WINED3DLINECAPS_FOG 0x00000010
#define WINED3DLINECAPS_FOG 0x00000010
#define WINED3DLINECAPS_ANTIALIAS 0x00000020
#define WINED3DMAX30SHADERINSTRUCTIONS 32768
#define WINED3DMAX30SHADERINSTRUCTIONS 32768
#define WINED3DMIN30SHADERINSTRUCTIONS 512
#define WINED3DMIN30SHADERINSTRUCTIONS 512
...
...
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