i915g: fix warning about void pointer arithmetic

This commit is contained in:
Brian Paul
2011-10-10 16:35:22 -06:00
parent a13eed4b82
commit f0c036536f
+1 -1
View File
@@ -384,7 +384,7 @@ i915_prepare_vertex_sampling(struct i915_context *i915,
if (view) {
struct pipe_resource *tex = view->texture;
struct i915_texture *i915_tex = i915_texture(tex);
void* addr;
ubyte *addr;
/* We're referencing the texture's internal data, so save a
* reference to it.