Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Helix Graziani
wine
Commits
00300237
Commit
00300237
authored
2 years ago
by
eric pouech
Committed by
Alexandre Julliard
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
wined3d: Reduce usage of long integral types in palette.c.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
parent
c9ef0ed6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dlls/wined3d/palette.c
+2
-2
2 additions, 2 deletions
dlls/wined3d/palette.c
include/wine/wined3d.h
+2
-2
2 additions, 2 deletions
include/wine/wined3d.h
with
4 additions
and
4 deletions
dlls/wined3d/palette.c
+
2
−
2
View file @
00300237
...
...
@@ -57,7 +57,7 @@ ULONG CDECL wined3d_palette_decref(struct wined3d_palette *palette)
}
HRESULT
CDECL
wined3d_palette_get_entries
(
const
struct
wined3d_palette
*
palette
,
uint32_t
flags
,
DWORD
start
,
DWORD
count
,
PALETTEENTRY
*
entries
)
uint32_t
flags
,
unsigned
int
start
,
unsigned
int
count
,
PALETTEENTRY
*
entries
)
{
unsigned
int
i
;
TRACE
(
"palette %p, flags %#x, start %u, count %u, entries %p.
\n
"
,
...
...
@@ -96,7 +96,7 @@ void CDECL wined3d_palette_apply_to_dc(const struct wined3d_palette *palette, HD
}
HRESULT
CDECL
wined3d_palette_set_entries
(
struct
wined3d_palette
*
palette
,
uint32_t
flags
,
DWORD
start
,
DWORD
count
,
const
PALETTEENTRY
*
entries
)
uint32_t
flags
,
unsigned
int
start
,
unsigned
int
count
,
const
PALETTEENTRY
*
entries
)
{
unsigned
int
i
;
...
...
This diff is collapsed.
Click to expand it.
include/wine/wined3d.h
+
2
−
2
View file @
00300237
...
...
@@ -2567,11 +2567,11 @@ HRESULT __cdecl wined3d_palette_create(struct wined3d_device *device, uint32_t f
unsigned
int
entry_count
,
const
PALETTEENTRY
*
entries
,
struct
wined3d_palette
**
palette
);
ULONG
__cdecl
wined3d_palette_decref
(
struct
wined3d_palette
*
palette
);
HRESULT
__cdecl
wined3d_palette_get_entries
(
const
struct
wined3d_palette
*
palette
,
uint32_t
flags
,
DWORD
start
,
DWORD
count
,
PALETTEENTRY
*
entries
);
uint32_t
flags
,
unsigned
int
start
,
unsigned
int
count
,
PALETTEENTRY
*
entries
);
void
__cdecl
wined3d_palette_apply_to_dc
(
const
struct
wined3d_palette
*
palette
,
HDC
dc
);
ULONG
__cdecl
wined3d_palette_incref
(
struct
wined3d_palette
*
palette
);
HRESULT
__cdecl
wined3d_palette_set_entries
(
struct
wined3d_palette
*
palette
,
uint32_t
flags
,
DWORD
start
,
DWORD
count
,
const
PALETTEENTRY
*
entries
);
uint32_t
flags
,
unsigned
int
start
,
unsigned
int
count
,
const
PALETTEENTRY
*
entries
);
HRESULT
__cdecl
wined3d_query_create
(
struct
wined3d_device
*
device
,
enum
wined3d_query_type
type
,
void
*
parent
,
const
struct
wined3d_parent_ops
*
parent_ops
,
struct
wined3d_query
**
query
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment