Skip to content
This repository
Browse code

quell compiler warning if compiling without libva, vdpau or darwin

  • Loading branch information...
commit 25e3e3eae452e0b820bf1ba5c5a0e7ef2767da7d 1 parent 64af508
authored July 23, 2013
2  xbmc/cores/VideoRenderers/LinuxRendererGL.cpp
@@ -597,7 +597,9 @@ void CLinuxRendererGL::Flush()
597 597
 
598 598
 void CLinuxRendererGL::ReleaseBuffer(int idx)
599 599
 {
  600
+#if defined(HAVE_LIBVDPAU) || defined(HAVE_LIBVA) || defined(TARGET_DARWIN)
600 601
   YUVBUFFER &buf = m_buffers[idx];
  602
+#endif
601 603
 #ifdef HAVE_LIBVDPAU
602 604
   SAFE_RELEASE(buf.vdpau);
603 605
 #endif

0 notes on commit 25e3e3e

Please sign in to comment.
Something went wrong with that request. Please try again.