diff options
author | Jason Ekstrand <[email protected]> | 2016-04-22 14:51:05 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-04-26 14:55:22 -0700 |
commit | 71775afe6e700b7240240657d8bd2ad761b610cd (patch) | |
tree | 4b7d6436648bee80415c4cd9f7cea739d30cfea9 /src/mesa/drivers/dri/i965/gen8_blorp.cpp | |
parent | bed74299c22d5f7e740f48a5ce47bc2864c09f89 (diff) |
i965/blorp: Make state setup C-safe
Previously they (very rarely) used C++isms that prevented them from being
compiled as C. As of this commit, they can be compiled as either C or C++.
Reviewed-by: Topi Pohjolainen <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen8_blorp.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/gen8_blorp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen8_blorp.cpp b/src/mesa/drivers/dri/i965/gen8_blorp.cpp index d02a003abf5..720f5244ca2 100644 --- a/src/mesa/drivers/dri/i965/gen8_blorp.cpp +++ b/src/mesa/drivers/dri/i965/gen8_blorp.cpp @@ -599,7 +599,7 @@ gen8_blorp_emit_surface_states(struct brw_context *brw, true /* is_render_target */); if (params->src.mt) { const struct brw_blorp_surface_info *surface = ¶ms->src; - intel_mipmap_tree *mt = surface->mt; + struct intel_mipmap_tree *mt = surface->mt; /* Textures are always sampled as 2D. */ const bool is_cube = mt->target == GL_TEXTURE_CUBE_MAP_ARRAY || |