mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-23 15:30:09 +00:00
st/xvmc: fix a couple 'unused-but-set-variable' warnings
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
49dad1aafd
commit
f6b9fb6e4c
@ -34,6 +34,7 @@
|
|||||||
#include "pipe/p_video_state.h"
|
#include "pipe/p_video_state.h"
|
||||||
#include "pipe/p_state.h"
|
#include "pipe/p_state.h"
|
||||||
|
|
||||||
|
#include "util/macros.h"
|
||||||
#include "util/u_inlines.h"
|
#include "util/u_inlines.h"
|
||||||
#include "util/u_memory.h"
|
#include "util/u_memory.h"
|
||||||
#include "util/u_math.h"
|
#include "util/u_math.h"
|
||||||
@ -226,8 +227,8 @@ Status XvMCRenderSurface(Display *dpy, XvMCContext *context, unsigned int pictur
|
|||||||
|
|
||||||
XvMCContextPrivate *context_priv;
|
XvMCContextPrivate *context_priv;
|
||||||
XvMCSurfacePrivate *target_surface_priv;
|
XvMCSurfacePrivate *target_surface_priv;
|
||||||
XvMCSurfacePrivate *past_surface_priv;
|
MAYBE_UNUSED XvMCSurfacePrivate *past_surface_priv;
|
||||||
XvMCSurfacePrivate *future_surface_priv;
|
MAYBE_UNUSED XvMCSurfacePrivate *future_surface_priv;
|
||||||
XvMCMacroBlock *xvmc_mb;
|
XvMCMacroBlock *xvmc_mb;
|
||||||
|
|
||||||
XVMC_MSG(XVMC_TRACE, "[XvMC] Rendering to surface %p, with past %p and future %p\n",
|
XVMC_MSG(XVMC_TRACE, "[XvMC] Rendering to surface %p, with past %p and future %p\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user