summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_opengl.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2006-06-20 01:07:58 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2006-06-20 01:07:58 +0000
commitf945ec50a244d3a7ecee47e6535aeb02afb17930 (patch)
treedf3250a210e1f64fe3c0734f4eef131dfad5fc93 /src/video_out/video_out_opengl.c
parent27cf4cc94874faf34c461e2f745a917d3c98b095 (diff)
downloadxine-lib-f945ec50a244d3a7ecee47e6535aeb02afb17930.tar.gz
xine-lib-f945ec50a244d3a7ecee47e6535aeb02afb17930.tar.bz2
Fix generic warnings.
CVS patchset: 8064 CVS date: 2006/06/20 01:07:58
Diffstat (limited to 'src/video_out/video_out_opengl.c')
-rw-r--r--src/video_out/video_out_opengl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_out/video_out_opengl.c b/src/video_out/video_out_opengl.c
index 082febd75..1936c0455 100644
--- a/src/video_out/video_out_opengl.c
+++ b/src/video_out/video_out_opengl.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_opengl.c,v 1.57 2006/06/15 21:40:05 komadori Exp $
+ * $Id: video_out_opengl.c,v 1.58 2006/06/20 01:07:58 dgp85 Exp $
*
* video_out_opengl.c, OpenGL based interface for xine
*
@@ -945,7 +945,7 @@ static int render_setup_fp_yuv (opengl_driver_t *this) {
ret = render_setup_tex2d (this);
if (! this->has_fragprog)
return 0;
- if (this->fprog == -1)
+ if (this->fprog == (GLuint)-1)
this->glGenProgramsARB (1, &this->fprog);
this->glBindProgramARB (MYGL_FRAGMENT_PROGRAM_ARB, this->fprog);
this->glProgramStringARB (MYGL_FRAGMENT_PROGRAM_ARB,