Pekka Paalanen 3e1ca62782 renderer/native: check format for drmModeAddFB fallback
If drmModeAddFB2() does not work, the fallback to drmModeAddFB() can
only handle a single specific format. Make sure the requested format is
that one format, and fail the operation otherwise.

This should at least makes the failure mode obvious on such old systems
where the kernel does not support AddFB2, rather than producing wrong
colors.
2018-10-04 11:57:35 +03:00
..
2018-07-30 17:48:42 +00:00
2018-07-06 19:47:16 +02:00
2015-07-05 22:01:59 -07:00
2015-07-05 22:01:59 -07:00
2018-07-24 13:16:36 +00:00