GL/Context: Support fbdev

This commit is contained in:
Connor McLaughlin
2021-02-14 02:51:26 +10:00
parent f5d7fec914
commit f7426b0988
4 changed files with 25 additions and 3 deletions

View File

@@ -182,6 +182,13 @@ if(USE_EGL)
)
target_link_libraries(common PUBLIC GBM::GBM)
endif()
if(USE_FBDEV)
target_compile_definitions(common PRIVATE "-DUSE_FBDEV=1")
target_sources(common PRIVATE
gl/context_egl_fbdev.cpp
gl/context_egl_fbdev.h
)
endif()
endif()
if(USE_X11)