Advertisement
Guest User

Untitled

a guest
Apr 30th, 2012
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. diff --git a/xbmc/cores/VideoRenderers/LinuxRendererGL.cpp b/xbmc/cores/VideoRenderers/LinuxRendererGL.cpp
  2. index 2dbded9..f0e3826 100644
  3. --- a/xbmc/cores/VideoRenderers/LinuxRendererGL.cpp
  4. +++ b/xbmc/cores/VideoRenderers/LinuxRendererGL.cpp
  5. @@ -2665,6 +2824,7 @@ bool CLinuxRendererGL::CreateYUV422PackedTexture(int index)
  6. // Delete any old texture
  7. DeleteYUV422PackedTexture(index);
  8.  
  9. + im.bpp = 1;
  10. im.height = m_sourceHeight;
  11. im.width = m_sourceWidth;
  12. im.cshift_x = 0;
  13.  
  14. @@ -2073,6 +2123,7 @@ bool CLinuxRendererGL::CreateNV12Texture(int index)
  15. // Delete any old texture
  16. DeleteNV12Texture(index);
  17.  
  18. + im.bpp = 1;
  19. im.height = m_sourceHeight;
  20. im.width = m_sourceWidth;
  21. im.cshift_x = 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement