diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-06-20 01:07:58 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-06-20 01:07:58 +0000 |
commit | f945ec50a244d3a7ecee47e6535aeb02afb17930 (patch) | |
tree | df3250a210e1f64fe3c0734f4eef131dfad5fc93 /src/video_out/video_out_opengl.c | |
parent | 27cf4cc94874faf34c461e2f745a917d3c98b095 (diff) | |
download | xine-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.c | 4 |
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, |