Codechange: rename byte to uint8_t (#12308)
This commit is contained in:
@@ -200,7 +200,7 @@ static bool CreateMainSurface(uint w, uint h)
|
||||
_allegro_screen = create_bitmap_ex(bpp, screen->cr - screen->cl, screen->cb - screen->ct);
|
||||
_screen.width = _allegro_screen->w;
|
||||
_screen.height = _allegro_screen->h;
|
||||
_screen.pitch = ((byte*)screen->line[1] - (byte*)screen->line[0]) / (bpp / 8);
|
||||
_screen.pitch = ((uint8_t*)screen->line[1] - (uint8_t*)screen->line[0]) / (bpp / 8);
|
||||
_screen.dst_ptr = _allegro_screen->line[0];
|
||||
|
||||
/* Initialise the screen so we don't blit garbage to the screen */
|
||||
@@ -247,8 +247,8 @@ std::vector<int> VideoDriver_Allegro::GetListOfMonitorRefreshRates()
|
||||
|
||||
struct AllegroVkMapping {
|
||||
uint16_t vk_from;
|
||||
byte vk_count;
|
||||
byte map_to;
|
||||
uint8_t vk_count;
|
||||
uint8_t map_to;
|
||||
};
|
||||
|
||||
#define AS(x, z) {x, 0, z}
|
||||
|
||||
Reference in New Issue
Block a user