mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-16 21:51:17 +00:00
Use a compile test for EGL support
This commit is contained in:
+1
-5
@@ -90,10 +90,6 @@ unix:!macx {
|
||||
CONFIG += libva
|
||||
}
|
||||
|
||||
packagesExist(egl) {
|
||||
CONFIG += egl
|
||||
}
|
||||
|
||||
packagesExist(vdpau) {
|
||||
CONFIG += libvdpau
|
||||
}
|
||||
@@ -268,7 +264,7 @@ libdrm {
|
||||
SOURCES += streaming/video/ffmpeg-renderers/drm.cpp
|
||||
HEADERS += streaming/video/ffmpeg-renderers/drm.h
|
||||
}
|
||||
egl {
|
||||
config_EGL {
|
||||
message(EGL renderer selected)
|
||||
|
||||
DEFINES += HAVE_EGL
|
||||
|
||||
Reference in New Issue
Block a user