diff libvo/vo_gl.c @ 16474:01d27e023ae4

Improved glFindFormat
author reimar
date Tue, 13 Sep 2005 15:56:32 +0000
parents c35ed5cdf07e
children 3191dcb27a12
line wrap: on
line diff
--- a/libvo/vo_gl.c	Tue Sep 13 11:38:39 2005 +0000
+++ b/libvo/vo_gl.c	Tue Sep 13 15:56:32 2005 +0000
@@ -187,10 +187,9 @@
 static int 
 config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format)
 {
-	int tmp;
 	image_height = height;
 	image_width = width;
-	glFindFormat(format, &tmp, &gl_texfmt, &gl_format, &gl_type);
+	glFindFormat(format, NULL, &gl_texfmt, &gl_format, &gl_type);
 
 	int_pause = 0;