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>
This commit is contained in:
parent
fb78cccd7b
commit
60eff44277
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue