diff options
author | Jose Fonseca <jfonseca@vmware.com> | 2015-03-19 13:14:41 +0000 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2015-03-22 08:23:24 +0000 |
commit | 60eff442772865bc98f05fe4c18bf468fff39e20 (patch) | |
tree | 371dd436f5df80006ea4b5a192d705540edd4252 | |
parent | fb78cccd7b5c29f9ecd2c86b530449e903dcc093 (diff) | |
download | external_mesa3d-60eff442772865bc98f05fe4c18bf468fff39e20.zip external_mesa3d-60eff442772865bc98f05fe4c18bf468fff39e20.tar.gz external_mesa3d-60eff442772865bc98f05fe4c18bf468fff39e20.tar.bz2 |
st/vdpau: Avoid constness cast warnings.
Fixes MSVC
warning C4090: '=' : different 'const' qualifiers
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
-rw-r--r-- | src/mesa/state_tracker/st_vdpau.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |