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
e95fec37
Commit
e95fec37
authored
Dec 06, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 06, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Reduce usage of long integral types in buffer.c.
parent
d77b31e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
buffer.c
dlls/wined3d/buffer.c
+2
-2
No files found.
dlls/wined3d/buffer.c
View file @
e95fec37
...
@@ -242,7 +242,7 @@ static BOOL wined3d_buffer_gl_create_buffer_object(struct wined3d_buffer_gl *buf
...
@@ -242,7 +242,7 @@ static BOOL wined3d_buffer_gl_create_buffer_object(struct wined3d_buffer_gl *buf
static
BOOL
buffer_process_converted_attribute
(
struct
wined3d_buffer
*
buffer
,
static
BOOL
buffer_process_converted_attribute
(
struct
wined3d_buffer
*
buffer
,
const
enum
wined3d_buffer_conversion_type
conversion_type
,
const
enum
wined3d_buffer_conversion_type
conversion_type
,
const
struct
wined3d_stream_info_element
*
attrib
,
DWORD
*
stride_this_run
)
const
struct
wined3d_stream_info_element
*
attrib
,
UINT
*
stride_this_run
)
{
{
const
struct
wined3d_format
*
format
=
attrib
->
format
;
const
struct
wined3d_format
*
format
=
attrib
->
format
;
BOOL
ret
=
FALSE
;
BOOL
ret
=
FALSE
;
...
@@ -299,7 +299,7 @@ static BOOL buffer_process_converted_attribute(struct wined3d_buffer *buffer,
...
@@ -299,7 +299,7 @@ static BOOL buffer_process_converted_attribute(struct wined3d_buffer *buffer,
#define WINED3D_BUFFER_FIXUP_XYZRHW 0x02
#define WINED3D_BUFFER_FIXUP_XYZRHW 0x02
static
BOOL
buffer_check_attribute
(
struct
wined3d_buffer
*
This
,
const
struct
wined3d_stream_info
*
si
,
static
BOOL
buffer_check_attribute
(
struct
wined3d_buffer
*
This
,
const
struct
wined3d_stream_info
*
si
,
const
struct
wined3d_state
*
state
,
UINT
attrib_idx
,
DWORD
fixup_flags
,
DWORD
*
stride_this_run
)
const
struct
wined3d_state
*
state
,
UINT
attrib_idx
,
DWORD
fixup_flags
,
UINT
*
stride_this_run
)
{
{
const
struct
wined3d_stream_info_element
*
attrib
=
&
si
->
elements
[
attrib_idx
];
const
struct
wined3d_stream_info_element
*
attrib
=
&
si
->
elements
[
attrib_idx
];
enum
wined3d_format_id
format
;
enum
wined3d_format_id
format
;
...
...
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