diff options
Diffstat (limited to 'src/gallium/drivers/i915/i915_resource.h')
-rw-r--r-- | src/gallium/drivers/i915/i915_resource.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/i915/i915_resource.h b/src/gallium/drivers/i915/i915_resource.h index e5951395845..1093e8f41f9 100644 --- a/src/gallium/drivers/i915/i915_resource.h +++ b/src/gallium/drivers/i915/i915_resource.h @@ -72,19 +72,19 @@ struct i915_texture { }; void i915_init_screen_resource_functions(struct i915_screen *is); -void i915_init_resource_functions(struct i915_context *i915 ); +void i915_init_resource_functions(struct i915_context *i915); extern struct u_resource_vtbl i915_buffer_vtbl; extern struct u_resource_vtbl i915_texture_vtbl; -static INLINE struct i915_texture *i915_texture( struct pipe_resource *resource ) +static INLINE struct i915_texture *i915_texture(struct pipe_resource *resource) { struct i915_texture *tex = (struct i915_texture *)resource; assert(tex->b.vtbl == &i915_texture_vtbl); return tex; } -static INLINE struct i915_buffer *i915_buffer( struct pipe_resource *resource ) +static INLINE struct i915_buffer *i915_buffer(struct pipe_resource *resource) { struct i915_buffer *tex = (struct i915_buffer *)resource; assert(tex->b.vtbl == &i915_buffer_vtbl); |