Permalink
Browse files

added missing include in GLES renderer for CSingleLock

Closes: Trac ticket #11173

Error before the patch:
LinuxRendererGLES.cpp: In member function 'void CLinuxRendererGLES::LoadPlane(CLinuxRendererGLES::YUVPLANE&, int, unsigned int, unsigned int, unsigned int, int, void*)':
LinuxRendererGLES.cpp:307: warning: comparison between signed and unsigned integer expressions
LinuxRendererGLES.cpp:312: warning: comparison between signed and unsigned integer expressions
LinuxRendererGLES.cpp:318: warning: unused variable 'pixelData'
LinuxRendererGLES.cpp: In member function 'virtual unsigned int CLinuxRendererGLES::PreInit()':
LinuxRendererGLES.cpp:637: error: 'CSingleLock' was not declared in this scope
LinuxRendererGLES.cpp:637: error: expected `;' before 'lock'
LinuxRendererGLES.cpp: In member function 'virtual void CLinuxRendererGLES::UnInit()':
LinuxRendererGLES.cpp:805: error: 'CSingleLock' was not declared in this scope
LinuxRendererGLES.cpp:805: error: expected `;' before 'lock'
make[1]: *** [LinuxRendererGLES.o] Error 1
  • Loading branch information...
1 parent 9811e2b commit a3f2938cf5a1713c2be28ae9717d1e3e90502b3d @arfoll arfoll committed Feb 7, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp
@@ -41,6 +41,7 @@
#include "guilib/Texture.h"
#include "lib/DllSwScale.h"
#include "../dvdplayer/DVDCodecs/Video/OpenMaxVideo.h"
+#include "threads/SingleLock.h"
using namespace Shaders;

0 comments on commit a3f2938

Please sign in to comment.