mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-18 07:18:11 +02:00
When specifying a frame buffer format like "RG16_BE" (big-endian RG16),
modetest still uses the little-endian variant, as the format string is
truncated to four characters.
Fix this by increasing the format string size to 8 bytes (7 characters +
NUL terminator).
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
v5:
- Add Reviewed-by,
v4:
- No changes,
v3:
- Update for suffix change from "be" to "_BE", cfr. commit
|
||
|---|---|---|
| .. | ||
| Android.mk | ||
| buffers.c | ||
| buffers.h | ||
| cursor.c | ||
| cursor.h | ||
| Makefile.sources | ||
| meson.build | ||
| modetest.c | ||