mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 00:49:48 +01:00
formats: fix endian ifdef
This commit is contained in:
parent
7c36a3e167
commit
25f14294a8
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ static const struct wlr_gles2_pixel_format formats[] = {
|
|||
.gl_type = GL_UNSIGNED_BYTE,
|
||||
.has_alpha = false,
|
||||
},
|
||||
#if WLR_LITTLE_ENDIAN
|
||||
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
|
||||
{
|
||||
.drm_format = DRM_FORMAT_RGBX4444,
|
||||
.gl_format = GL_RGBA,
|
||||
|
|
Loading…
Reference in a new issue