aboutsummaryrefslogtreecommitdiff
path: root/examples/cat.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-10-13 15:37:22 +0200
committerSimon Ser <contact@emersion.fr>2022-10-17 11:36:58 +0200
commitca432ea539614a1e321824c90d81f663f88298ef (patch)
tree27da682894ff7d1edc69ffa3404686b7c83eab25 /examples/cat.h
parenteeb7a8113869790e5f6fc643bafa577b08b5f4c3 (diff)
backend/drm: extract current mode logic into separate function
Extract the logic to fetch the current mode to a separate function to make it more readable. Stop dying in an assert when get_drm_prop_blob() fails. Always make it so the drmModeModeInfo pointer is allocated so that we can free() it unconditionally.
Diffstat (limited to 'examples/cat.h')
0 files changed, 0 insertions, 0 deletions