summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_surface_formats.c
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2015-11-30 15:47:13 -0800
committerKenneth Graunke <kenneth@whitecape.org>2016-09-20 20:08:20 -0700
commit9694b23f66f4c41407289fb7d3ff25321042ef49 (patch)
tree191463d5f9a54ef0d4c49fa2d504a9e5d37486a8 /src/mesa/drivers/dri/i965/brw_surface_formats.c
parent8fec9fbb9f78c1cbc539b28cd914fe366fa7e344 (diff)
downloadexternal_mesa3d-9694b23f66f4c41407289fb7d3ff25321042ef49.zip
external_mesa3d-9694b23f66f4c41407289fb7d3ff25321042ef49.tar.gz
external_mesa3d-9694b23f66f4c41407289fb7d3ff25321042ef49.tar.bz2
i965: Rename intelScreen to screen.
"intelScreen" is wordy and also doesn't fit our style guidelines. "screen" is shorter, which is nice, because we use it fairly often. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_surface_formats.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_surface_formats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_surface_formats.c b/src/mesa/drivers/dri/i965/brw_surface_formats.c
index 40b2689..d99d386 100644
--- a/src/mesa/drivers/dri/i965/brw_surface_formats.c
+++ b/src/mesa/drivers/dri/i965/brw_surface_formats.c
@@ -288,7 +288,7 @@ brw_format_for_mesa_format(mesa_format mesa_format)
void
brw_init_surface_formats(struct brw_context *brw)
{
- const struct gen_device_info *devinfo = brw->intelScreen->devinfo;
+ const struct gen_device_info *devinfo = brw->screen->devinfo;
struct gl_context *ctx = &brw->ctx;
int gen;
mesa_format format;