mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-23 10:12:47 +08:00
wayland: Rename some display related variables to better reflect their purpose
Use the 'logical' prefix for the logical width and height, and clarify that the physical dimensions reflect the width/height in millimeters.
This commit is contained in:
@@ -105,10 +105,11 @@ struct SDL_DisplayData
|
||||
char *wl_output_name;
|
||||
double scale_factor;
|
||||
uint32_t registry_id;
|
||||
int logical_width, logical_height;
|
||||
int pixel_width, pixel_height;
|
||||
int x, y, screen_width, screen_height, refresh, transform;
|
||||
int x, y, refresh, transform;
|
||||
SDL_DisplayOrientation orientation;
|
||||
int physical_width, physical_height;
|
||||
int physical_width_mm, physical_height_mm;
|
||||
bool has_logical_position, has_logical_size;
|
||||
SDL_DisplayID display;
|
||||
SDL_VideoDisplay placeholder;
|
||||
|
||||
Reference in New Issue
Block a user