i965: change parameter type to gl_format
authorBrian Paul <brianp@vmware.com>
Thu, 22 Oct 2009 02:00:43 +0000 (20:00 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 22 Oct 2009 02:00:43 +0000 (20:00 -0600)
src/mesa/drivers/dri/i965/brw_wm_surface_state.c

index ea559d2ac73a506f79322b74313533446e0c605a..5d8bb7a14be37a43401428945707e5f00fa173c0 100644 (file)
@@ -69,7 +69,8 @@ static GLuint translate_tex_target( GLenum target )
 }
 
 
-static GLuint translate_tex_format( GLuint mesa_format, GLenum internal_format,
+static GLuint translate_tex_format( gl_format mesa_format,
+                                    GLenum internal_format,
                                    GLenum depth_mode )
 {
    switch( mesa_format ) {