summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/gen7_wm_surface_state.c
diff options
context:
space:
mode:
authorAlejandro Piñeiro <apinheiro@igalia.com>2015-12-05 20:46:30 +0100
committerAlejandro Piñeiro <apinheiro@igalia.com>2015-12-07 20:30:24 +0100
commitb16e0ff34e7824bb7f44e7afb78334fcfb0f7264 (patch)
tree3a08a93bb94328dfa8aec6641dfda07dff3000f0 /src/mesa/drivers/dri/i965/gen7_wm_surface_state.c
parentdb072d20867426958153279575dfdc2049b5f595 (diff)
downloadexternal_mesa3d-b16e0ff34e7824bb7f44e7afb78334fcfb0f7264.tar.gz
external_mesa3d-b16e0ff34e7824bb7f44e7afb78334fcfb0f7264.tar.bz2
external_mesa3d-b16e0ff34e7824bb7f44e7afb78334fcfb0f7264.zip
i965: use _mesa_is_array_texture instead of _mesa_tex_target_is_array
Both methods provide the same functionality, so one would be removed. v2: use _mesa_is_array_texture and not the other way (Brian Paul) Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen7_wm_surface_state.c')
-rw-r--r--src/mesa/drivers/dri/i965/gen7_wm_surface_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen7_wm_surface_state.c b/src/mesa/drivers/dri/i965/gen7_wm_surface_state.c
index 2aa395b2a9..79182560a3 100644
--- a/src/mesa/drivers/dri/i965/gen7_wm_surface_state.c
+++ b/src/mesa/drivers/dri/i965/gen7_wm_surface_state.c
@@ -500,7 +500,7 @@ gen7_update_renderbuffer_surface(struct brw_context *brw,
/* fallthrough */
default:
surftype = translate_tex_target(gl_target);
- is_array = _mesa_tex_target_is_array(gl_target);
+ is_array = _mesa_is_array_texture(gl_target);
break;
}