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
68811881
Commit
68811881
authored
Dec 07, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 07, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Reduce usage of long integral types in include/wined3d.h.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
parent
36717714
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
device.c
dlls/wined3d/device.c
+3
-3
wined3d.h
include/wine/wined3d.h
+4
-4
No files found.
dlls/wined3d/device.c
View file @
68811881
...
...
@@ -3754,7 +3754,7 @@ static HRESULT process_vertices_strided(const struct wined3d_device *device, DWO
HRESULT
CDECL
wined3d_device_process_vertices
(
struct
wined3d_device
*
device
,
UINT
src_start_idx
,
UINT
dst_idx
,
UINT
vertex_count
,
struct
wined3d_buffer
*
dst_buffer
,
const
struct
wined3d_vertex_declaration
*
declaration
,
uint32_t
flags
,
DWORD
dst_fvf
)
const
struct
wined3d_vertex_declaration
*
declaration
,
uint32_t
flags
,
uint32_t
dst_fvf
)
{
struct
wined3d_state
*
state
=
device
->
cs
->
c
.
state
;
struct
wined3d_stream_info
stream_info
;
...
...
@@ -4342,8 +4342,8 @@ HRESULT CDECL wined3d_device_end_scene(struct wined3d_device *device)
return
WINED3D_OK
;
}
HRESULT
CDECL
wined3d_device_clear
(
struct
wined3d_device
*
device
,
DWORD
rect_count
,
const
RECT
*
rects
,
uint32_t
flags
,
const
struct
wined3d_color
*
color
,
float
depth
,
DWORD
stencil
)
HRESULT
CDECL
wined3d_device_clear
(
struct
wined3d_device
*
device
,
unsigned
int
rect_count
,
const
RECT
*
rects
,
uint32_t
flags
,
const
struct
wined3d_color
*
color
,
float
depth
,
unsigned
int
stencil
)
{
struct
wined3d_fb_state
*
fb
=
&
device
->
cs
->
c
.
state
->
fb
;
...
...
include/wine/wined3d.h
View file @
68811881
...
...
@@ -2169,7 +2169,7 @@ struct wined3d_stateblock_state
struct
wined3d_ivec4
ps_consts_i
[
WINED3D_MAX_CONSTS_I
];
BOOL
ps_consts_b
[
WINED3D_MAX_CONSTS_B
];
DWORD
rs
[
WINEHIGHEST_RENDER_STATE
+
1
];
unsigned
int
rs
[
WINEHIGHEST_RENDER_STATE
+
1
];
BOOL
alpha_to_coverage
;
struct
wined3d_texture
*
textures
[
WINED3D_MAX_COMBINED_SAMPLERS
];
...
...
@@ -2358,8 +2358,8 @@ ULONG __cdecl wined3d_depth_stencil_state_incref(struct wined3d_depth_stencil_st
HRESULT
__cdecl
wined3d_device_acquire_focus_window
(
struct
wined3d_device
*
device
,
HWND
window
);
void
__cdecl
wined3d_device_apply_stateblock
(
struct
wined3d_device
*
device
,
struct
wined3d_stateblock
*
stateblock
);
HRESULT
__cdecl
wined3d_device_begin_scene
(
struct
wined3d_device
*
device
);
HRESULT
__cdecl
wined3d_device_clear
(
struct
wined3d_device
*
device
,
DWORD
rect_count
,
const
RECT
*
rects
,
uint32_t
flags
,
const
struct
wined3d_color
*
color
,
float
z
,
DWORD
stencil
);
HRESULT
__cdecl
wined3d_device_clear
(
struct
wined3d_device
*
device
,
unsigned
int
rect_count
,
const
RECT
*
rects
,
uint32_t
flags
,
const
struct
wined3d_color
*
color
,
float
z
,
unsigned
int
stencil
);
HRESULT
__cdecl
wined3d_device_create
(
struct
wined3d
*
wined3d
,
struct
wined3d_adapter
*
adapter
,
enum
wined3d_device_type
device_type
,
HWND
focus_window
,
unsigned
int
behaviour_flags
,
BYTE
surface_alignment
,
const
enum
wined3d_feature_level
*
feature_levels
,
unsigned
int
feature_level_count
,
...
...
@@ -2391,7 +2391,7 @@ struct wined3d * __cdecl wined3d_device_get_wined3d(const struct wined3d_device
ULONG
__cdecl
wined3d_device_incref
(
struct
wined3d_device
*
device
);
HRESULT
__cdecl
wined3d_device_process_vertices
(
struct
wined3d_device
*
device
,
UINT
src_start_idx
,
UINT
dst_idx
,
UINT
vertex_count
,
struct
wined3d_buffer
*
dst_buffer
,
const
struct
wined3d_vertex_declaration
*
declaration
,
uint32_t
flags
,
DWORD
dst_fvf
);
const
struct
wined3d_vertex_declaration
*
declaration
,
uint32_t
flags
,
uint32_t
dst_fvf
);
void
__cdecl
wined3d_device_release_focus_window
(
struct
wined3d_device
*
device
);
HRESULT
__cdecl
wined3d_device_reset
(
struct
wined3d_device
*
device
,
const
struct
wined3d_swapchain_desc
*
swapchain_desc
,
const
struct
wined3d_display_mode
*
mode
,
...
...
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