Mesa (texformat-rework): i965: change parameter type to gl_format

Brian Paul brianp at kemper.freedesktop.org
Thu Oct 22 03:21:30 UTC 2009


Module: Mesa
Branch: texformat-rework
Commit: 4bd70b5cff13039a4b0e0c554156fec06e3c3906
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4bd70b5cff13039a4b0e0c554156fec06e3c3906

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Oct 21 20:00:43 2009 -0600

i965: change parameter type to gl_format

---

 src/mesa/drivers/dri/i965/brw_wm_surface_state.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

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 ) {




More information about the mesa-commit mailing list