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
3d94f5ef
Commit
3d94f5ef
authored
Jan 04, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 04, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Change long to LONG in d3dtypes.h for Win64 compatibility.
parent
82d8fc3f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
d3dtypes.h
include/d3dtypes.h
+3
-3
No files found.
include/d3dtypes.h
View file @
3d94f5ef
...
...
@@ -55,10 +55,10 @@ typedef LONG D3DFIXED;
#define RGBA_MAKE(r, g, b, a) ((D3DCOLOR) (((a) << 24) | ((r) << 16) | ((g) << 8) | (b)))
#define D3DRGB(r, g, b) \
(0xff000000
L | ( ((long)((r) * 255)) << 16) | (((long)((g) * 255)) << 8) | (long
)((b) * 255))
(0xff000000
| ( ((LONG)((r) * 255)) << 16) | (((LONG)((g) * 255)) << 8) | (LONG
)((b) * 255))
#define D3DRGBA(r, g, b, a) \
( (((
long)((a) * 255)) << 24) | (((long
)((r) * 255)) << 16) \
| (((
long)((g) * 255)) << 8) | (long
)((b) * 255) \
( (((
LONG)((a) * 255)) << 24) | (((LONG
)((r) * 255)) << 16) \
| (((
LONG)((g) * 255)) << 8) | (LONG
)((b) * 255) \
)
#define RGB_GETRED(rgb) (((rgb) >> 16) & 0xff)
...
...
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