[Mesa-dev] [PATCH] st/mesa: fix possible MSVC build error

Marek Olšák maraeo at gmail.com
Tue Jan 8 11:40:56 PST 2013


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;
-- 
1.7.10.4



More information about the mesa-dev mailing list