diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-07-25 19:13:06 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-07-25 19:15:07 -0700 |
commit | 94d6ea61377220d937eb5da9ef99e95fc6356b90 (patch) | |
tree | 557577650866949073c41b5c154c1fb5aa480c12 /src/nv_include.h | |
parent | b9f256b16f74b898d311c0ca310afc75456b73c9 (diff) |
riva_xaa: don't build RivaSetRopPattern when XAA is not supported
Fixes gcc warnings:
riva_xaa.c: In function ‘RivaSetRopPattern’:
riva_xaa.c:94:33: warning: implicit declaration of function
‘XAAGetPatternROP’; did you mean ‘RivaSetPattern’?
[-Wimplicit-function-declaration]
pRiva->riva.Rop->Rop3 = XAAGetPatternROP(rop);
^~~~~~~~~~~~~~~~
RivaSetPattern
At top level:
riva_xaa.c:89:1: warning: ‘RivaSetRopPattern’ defined but not used
[-Wunused-function]
RivaSetRopPattern(RivaPtr pRiva, int rop)
^~~~~~~~~~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/nv_include.h')
0 files changed, 0 insertions, 0 deletions