summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2015-03-19 13:14:41 +0000
committerJose Fonseca <[email protected]>2015-03-22 08:23:24 +0000
commit60eff442772865bc98f05fe4c18bf468fff39e20 (patch)
tree371dd436f5df80006ea4b5a192d705540edd4252 /src/mesa
parentfb78cccd7b5c29f9ecd2c86b530449e903dcc093 (diff)
st/vdpau: Avoid constness cast warnings.
Fixes MSVC warning C4090: '=' : different 'const' qualifiers Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_vdpau.c2
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 6ccaf3e3f18..63af1196af1 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;