2018-10-03 21:46:18 +00:00
|
|
|
# enable xrender
|
2019-01-01 11:01:47 +00:00
|
|
|
srcs += [ files('backend_common.c') ]
|
2018-10-03 21:46:18 +00:00
|
|
|
if get_option('new_backends')
|
2019-01-01 11:01:47 +00:00
|
|
|
srcs += [ files('xrender.c', 'backend.c') ]
|
2018-10-03 21:46:18 +00:00
|
|
|
|
|
|
|
# enable opengl
|
|
|
|
if get_option('opengl')
|
2018-12-31 01:32:31 +00:00
|
|
|
srcs += [ files('gl/gl_common.c', 'gl/glx.c') ]
|
2018-10-03 21:46:18 +00:00
|
|
|
endif
|
|
|
|
endif
|
2019-01-27 18:16:28 +00:00
|
|
|
|
|
|
|
if get_option('opengl')
|
|
|
|
srcs += [ files('gl/gl_common.c') ]
|
|
|
|
endif
|