On 01/08/2013 11:40 AM, Marek Olšák wrote:
https://bugs.freedesktop.org/show_bug.cgi?id=59143
---
  src/mesa/state_tracker/st_cb_texture.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/state_tracker/st_cb_texture.c 
b/src/mesa/state_tracker/st_cb_texture.c
index 02fc675..e869d61 100644
--- a/src/mesa/state_tracker/st_cb_texture.c
+++ b/src/mesa/state_tracker/st_cb_texture.c
@@ -759,7 +759,7 @@ fallback_copy_texsubimage(struct gl_context *ctx,
     struct st_context *st = st_context(ctx);
     struct pipe_context *pipe = st->pipe;
     struct pipe_transfer *src_trans;
-   GLvoid *texDest;
+   uint8_t *texDest;
     enum pipe_transfer_usage transfer_usage;
     void *map;
     unsigned dst_width = width;

Or maybe use GLubyte * and also get rid of the cast in the call to _mesa_texstore() below.

-Brian

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to