Reviewed-by: Christian König <[email protected]>

On 20.03.2015 14:59, Jose Fonseca wrote:
Fixes MSVC

   warning C4090: '=' : different 'const' qualifiers
---
  src/mesa/state_tracker/st_vdpau.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/state_tracker/st_vdpau.c 
b/src/mesa/state_tracker/st_vdpau.c
index 6ccaf3e..63af119 100644
--- a/src/mesa/state_tracker/st_vdpau.c
+++ b/src/mesa/state_tracker/st_vdpau.c
@@ -66,7 +66,7 @@ st_vdpau_map_surface(struct gl_context *ctx, GLenum target, 
GLenum access,
     struct pipe_sampler_view templ, **sampler_view;
     mesa_format texFormat;
- getProcAddr = ctx->vdpGetProcAddress;
+   getProcAddr = (void *)ctx->vdpGetProcAddress;
     if (output) {
        VdpOutputSurfaceGallium *f;

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

Reply via email to