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
da354c6d
Commit
da354c6d
authored
Feb 15, 2007
by
H. Verbeet
Committed by
Alexandre Julliard
Feb 15, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add WINED3DLINECAPS flags and use them.
parent
79909e7e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
directx.c
dlls/wined3d/directx.c
+5
-5
wined3d_caps.h
include/wine/wined3d_caps.h
+6
-0
No files found.
dlls/wined3d/directx.c
View file @
da354c6d
...
...
@@ -2093,12 +2093,12 @@ static HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter,
}
else
*
pCaps
->
VolumeTextureAddressCaps
=
0
;
*
pCaps
->
LineCaps
=
D3DLINECAPS_TEXTURE
|
D3DLINECAPS_ZTEST
;
*
pCaps
->
LineCaps
=
WINE
D3DLINECAPS_TEXTURE
|
WINE
D3DLINECAPS_ZTEST
;
/* FIXME: Add
D3DLINECAPS_BLEND
D3DLINECAPS_ALPHACMP
D3DLINECAPS_FOG */
WINE
D3DLINECAPS_BLEND
WINE
D3DLINECAPS_ALPHACMP
WINE
D3DLINECAPS_FOG */
*
pCaps
->
MaxTextureWidth
=
GL_LIMITS
(
texture_size
);
*
pCaps
->
MaxTextureHeight
=
GL_LIMITS
(
texture_size
);
...
...
include/wine/wined3d_caps.h
View file @
da354c6d
...
...
@@ -19,6 +19,12 @@
#ifndef __WINE_WINED3D_CAPS_H
#define __WINE_WINED3D_CAPS_H
#define WINED3DLINECAPS_TEXTURE 0x00000001
#define WINED3DLINECAPS_ZTEST 0x00000002
#define WINED3DLINECAPS_BLEND 0x00000004
#define WINED3DLINECAPS_ALPHACMP 0x00000008
#define WINED3DLINECAPS_FOG 0x00000010
#define WINED3DPBLENDCAPS_ZERO 0x00000001
#define WINED3DPBLENDCAPS_ONE 0x00000002
#define WINED3DPBLENDCAPS_SRCCOLOR 0x00000004
...
...
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