[vlc-commits] vout_ios: fixed compilation warning

Felix Paul Kühne git at videolan.org
Mon Mar 26 12:49:32 CEST 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Mar 26 12:49:27 2012 +0200| [35b05c475ad28c4a7a11e5148312ed7ce22d84ce] | committer: Felix Paul Kühne

vout_ios: fixed compilation warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=35b05c475ad28c4a7a11e5148312ed7ce22d84ce
---

 modules/video_output/ios.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/video_output/ios.m b/modules/video_output/ios.m
index ce03a49..b35748b 100644
--- a/modules/video_output/ios.m
+++ b/modules/video_output/ios.m
@@ -384,7 +384,7 @@ static void OpenglSwap(vlc_gl_t *gl)
     [_context renderbufferStorage:GL_RENDERBUFFER_OES fromDrawable:(id<EAGLDrawable>)self.layer];
     glFramebufferRenderbufferOES(GL_FRAMEBUFFER_OES, GL_COLOR_ATTACHMENT0_OES, GL_RENDERBUFFER_OES, _colorRenderbuffer);
 
-    GLuint backingWidth, backingHeight;
+    GLint backingWidth, backingHeight;
     glGetRenderbufferParameterivOES(GL_RENDERBUFFER_OES, GL_RENDERBUFFER_WIDTH_OES, &backingWidth);
     glGetRenderbufferParameterivOES(GL_RENDERBUFFER_OES, GL_RENDERBUFFER_HEIGHT_OES, &backingHeight);
 



More information about the vlc-commits mailing list