• Pekka Paalanen's avatar
    renderer/native: check format for drmModeAddFB fallback · 3e1ca627
    Pekka Paalanen authored
    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.
    3e1ca627
Name
Last commit
Last update
clutter Loading commit data...
cogl Loading commit data...
data Loading commit data...
doc Loading commit data...
po Loading commit data...
src Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
mutter.doap Loading commit data...