mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-12 18:56:10 +00:00
Fix some #if -> #ifdefs
This commit is contained in:
@@ -194,7 +194,7 @@ public:
|
||||
virtual void freeEGLImages(EGLDisplay, EGLImage[EGL_MAX_PLANES]) {}
|
||||
#endif
|
||||
|
||||
#if HAVE_DRM
|
||||
#ifdef HAVE_DRM
|
||||
// By default we can't do DRM PRIME export
|
||||
virtual bool canExportDrmPrime() {
|
||||
return false;
|
||||
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
virtual void freeEGLImages(EGLDisplay dpy, EGLImage[EGL_MAX_PLANES]) override;
|
||||
#endif
|
||||
|
||||
#if HAVE_DRM
|
||||
#ifdef HAVE_DRM
|
||||
virtual bool canExportDrmPrime() override;
|
||||
virtual bool mapDrmPrimeFrame(AVFrame* frame, AVDRMFrameDescriptor* drmDescriptor) override;
|
||||
virtual void unmapDrmPrimeFrame(AVDRMFrameDescriptor* drmDescriptor) override;
|
||||
|
||||
Reference in New Issue
Block a user