diff options
| author | vaxerski <vaxry@vaxry.net> | 2023-04-17 15:36:47 +0100 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2023-04-17 15:36:49 +0100 |
| commit | 25f14294a84df1a2a840a92fd89ff4e1fd72f01e (patch) | |
| tree | d021b28506452a0379beeb179aac12149627bb43 /src | |
| parent | 7c36a3e1670e369d84c4f61b9de300ef72710c14 (diff) | |
formats: fix endian ifdef
Diffstat (limited to 'src')
| -rw-r--r-- | src/protocols/ToplevelExportWlrFuncs.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/ToplevelExportWlrFuncs.hpp b/src/protocols/ToplevelExportWlrFuncs.hpp index 97bf96f8..c7f53341 100644 --- a/src/protocols/ToplevelExportWlrFuncs.hpp +++ b/src/protocols/ToplevelExportWlrFuncs.hpp @@ -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, |
