mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-17 06:46:39 -04:00
render/allocator/gbm: use gbm_bo_create_with_modifiers2() if available
The flags are not really used now but will be exposed soon.
This commit is contained in:
parent
a165261f7f
commit
b992930ebe
2 changed files with 13 additions and 4 deletions
|
|
@ -22,4 +22,7 @@ if gbm.found()
|
|||
|
||||
has = cc.has_function('gbm_bo_get_fd_for_plane', dependencies: [gbm])
|
||||
internal_config.set10('HAVE_GBM_BO_GET_FD_FOR_PLANE', has)
|
||||
|
||||
has = cc.has_function('gbm_bo_create_with_modifiers2', dependencies: [gbm])
|
||||
internal_config.set10('HAVE_GBM_BO_CREATE_WITH_MODIFIERS2', has)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue