mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-12-15 13:52:28 +00:00
Fix some #if -> #ifdefs
This commit is contained in:
parent
fee6f75223
commit
6a0cf4bfd3
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue