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
3963e184
Commit
3963e184
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: Enable long types in palette.c.
parent
00300237
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
palette.c
dlls/wined3d/palette.c
+2
-3
No files found.
dlls/wined3d/palette.c
View file @
3963e184
...
...
@@ -18,7 +18,6 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WINE_NO_LONG_TYPES
/* temporary */
#include "wined3d_private.h"
...
...
@@ -152,7 +151,7 @@ static HRESULT wined3d_palette_init(struct wined3d_palette *palette, struct wine
if
(
FAILED
(
hr
=
wined3d_palette_set_entries
(
palette
,
0
,
0
,
entry_count
,
entries
)))
{
WARN
(
"Failed to set palette entries, hr %#x.
\n
"
,
hr
);
WARN
(
"Failed to set palette entries, hr %#
l
x.
\n
"
,
hr
);
return
hr
;
}
...
...
@@ -173,7 +172,7 @@ HRESULT CDECL wined3d_palette_create(struct wined3d_device *device, uint32_t fla
if
(
FAILED
(
hr
=
wined3d_palette_init
(
object
,
device
,
flags
,
entry_count
,
entries
)))
{
WARN
(
"Failed to initialize palette, hr %#x.
\n
"
,
hr
);
WARN
(
"Failed to initialize palette, hr %#
l
x.
\n
"
,
hr
);
heap_free
(
object
);
return
hr
;
}
...
...
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