Make usage of SDL renderer optional

This commit is contained in:
Francesco Abbate
2021-04-29 14:15:24 +02:00
parent 7c79105d2f
commit 3d84fe5488
8 changed files with 201 additions and 107 deletions
+5
View File
@@ -40,6 +40,11 @@ if host_machine.system() == 'windows'
lite_rc += windows.compile_resources('res.rc')
endif
# On macos we need to use the SDL renderer to support retina displays
if get_option('renderer') or host_machine.system() == 'darwin'
lite_cargs += '-DLITE_USE_SDL_RENDERER'
endif
subdir('lib/font_renderer')
subdir('src')