projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff35dab
)
fixed: in opengl, you can only use 0 to indicate that a variable does not hold a...
author
bobo1on1
<bob-nospam-@xbmc.org>
Wed, 18 May 2011 15:12:53 +0000
(17:12 +0200)
committer
bobo1on1
<bob-nospam-@xbmc.org>
Wed, 18 May 2011 15:13:34 +0000
(17:13 +0200)
xbmc/cores/VideoRenderers/OverlayRendererGL.cpp
patch
|
blob
|
history
diff --git
a/xbmc/cores/VideoRenderers/OverlayRendererGL.cpp
b/xbmc/cores/VideoRenderers/OverlayRendererGL.cpp
index
4b4a843
..
3cd61c8
100644
(file)
--- a/
xbmc/cores/VideoRenderers/OverlayRendererGL.cpp
+++ b/
xbmc/cores/VideoRenderers/OverlayRendererGL.cpp
@@
-281,7
+281,7
@@
COverlayGlyphGL::COverlayGlyphGL(CDVDOverlaySSA* o, double pts)
int width = MathUtils::round_int(dst.Width());
int height = MathUtils::round_int(dst.Height());
- m_texture =
~(GLuint)
0;
+ m_texture = 0;
SQuads quads;
if(!convert_quad(o, pts, width, height, quads))
@@
-391,7
+391,7
@@
COverlayGlyphGL::~COverlayGlyphGL()
void COverlayGlyphGL::Render(SRenderState& state)
{
- if (m_texture ==
~GLuint(0)
)
+ if (m_texture ==
0
)
return;
glEnable(GL_TEXTURE_2D);