mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 18:56:29 +00:00
os: define storage type of rgb888 as 32-bit value
The original version used unsigned long as storage type, which wasted memory on 64-bit machines.
This commit is contained in:
parent
f655ac31f7
commit
909c4c9ffc
@ -18,7 +18,7 @@
|
||||
|
||||
namespace Genode {
|
||||
|
||||
typedef Pixel_rgba<unsigned long, Surface_base::RGB888,
|
||||
typedef Pixel_rgba<uint32_t, Surface_base::RGB888,
|
||||
0xff0000, 16, 0xff00, 8, 0xff, 0, 0, 0>
|
||||
Pixel_rgb888;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user