diff options
author | Jose Fonseca <[email protected]> | 2015-03-19 13:14:41 +0000 |
---|---|---|
committer | Jose Fonseca <[email protected]> | 2015-03-22 08:23:24 +0000 |
commit | 60eff442772865bc98f05fe4c18bf468fff39e20 (patch) | |
tree | 371dd436f5df80006ea4b5a192d705540edd4252 /src/mesa | |
parent | fb78cccd7b5c29f9ecd2c86b530449e903dcc093 (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.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 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; |