projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a13eed4
)
i915g: fix warning about void pointer arithmetic
author
Brian Paul
<brianp@vmware.com>
Mon, 10 Oct 2011 22:35:22 +0000
(16:35 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 11 Oct 2011 13:40:11 +0000
(07:40 -0600)
src/gallium/drivers/i915/i915_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/i915/i915_state.c
b/src/gallium/drivers/i915/i915_state.c
index a233a04dbb27e3fa7acb042ed6e84633f9d297ff..f018f5262468020b9e2c3e5c0b534ce0260844dd 100644
(file)
--- a/
src/gallium/drivers/i915/i915_state.c
+++ b/
src/gallium/drivers/i915/i915_state.c
@@
-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.