Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libSDL
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
libSDL
Commits
4c1a08f1
Commit
4c1a08f1
authored
Mar 07, 2011
by
Sam Lantinga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added padding for better aligned access to *shift/*loss members
parent
d8392622
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
SDL_pixels.h
include/SDL_pixels.h
+5
-4
No files found.
include/SDL_pixels.h
View file @
4c1a08f1
...
...
@@ -270,6 +270,11 @@ typedef struct SDL_PixelFormat
SDL_Palette
*
palette
;
Uint8
BitsPerPixel
;
Uint8
BytesPerPixel
;
Uint8
padding
[
2
];
Uint32
Rmask
;
Uint32
Gmask
;
Uint32
Bmask
;
Uint32
Amask
;
Uint8
Rloss
;
Uint8
Gloss
;
Uint8
Bloss
;
...
...
@@ -278,10 +283,6 @@ typedef struct SDL_PixelFormat
Uint8
Gshift
;
Uint8
Bshift
;
Uint8
Ashift
;
Uint32
Rmask
;
Uint32
Gmask
;
Uint32
Bmask
;
Uint32
Amask
;
int
refcount
;
struct
SDL_PixelFormat
*
next
;
}
SDL_PixelFormat
;
...
...
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