mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 09:59:48 +01:00
render/allocator/gbm: use internal_config
Removes a project argument.
This commit is contained in:
parent
311381c6b5
commit
cb6b1193c8
2 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@
|
|||
#include <wlr/util/log.h>
|
||||
#include <xf86drm.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "render/allocator/gbm.h"
|
||||
#include "render/drm_format_set.h"
|
||||
|
||||
|
|
|
@ -21,5 +21,5 @@ if gbm.found()
|
|||
features += { 'gbm-allocator': true }
|
||||
|
||||
has = cc.has_function('gbm_bo_get_fd_for_plane', dependencies: [gbm])
|
||||
add_project_arguments('-DHAS_GBM_BO_GET_FD_FOR_PLANE=@0@'.format(has.to_int()), language: 'c')
|
||||
internal_config.set10('HAS_GBM_BO_GET_FD_FOR_PLANE', has)
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue