From: Brian Paul Date: Thu, 22 Oct 2009 02:00:43 +0000 (-0600) Subject: i965: change parameter type to gl_format X-Git-Tag: mesa-7.8~2720^2~38 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4bd70b5cff13039a4b0e0c554156fec06e3c3906;p=platform%2Fupstream%2Fmesa.git i965: change parameter type to gl_format --- diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c index ea559d2..5d8bb7a 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c +++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c @@ -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 ) {