projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb78ccc
)
st/vdpau: Avoid constness cast warnings.
author
Jose Fonseca
<jfonseca@vmware.com>
Thu, 19 Mar 2015 13:14:41 +0000
(13:14 +0000)
committer
Jose Fonseca
<jfonseca@vmware.com>
Sun, 22 Mar 2015 08:23:24 +0000
(08:23 +0000)
Fixes MSVC
warning C4090: '=' : different 'const' qualifiers
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/mesa/state_tracker/st_vdpau.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_vdpau.c
b/src/mesa/state_tracker/st_vdpau.c
index 6ccaf3e3f186127aa84c6502fc440bd541dabc15..63af1196af1d515ef436aeeeb634f94741d5bb4f 100644
(file)
--- 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;