summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-08 14:10:39 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-08 14:10:39 -0800
commit947720bc20f8dcba8502e1db46ae0f180c5fa8d0 (patch)
treee4652fc9c74dbf2557f0a7d3111ef105a6e92110
parent0176634d5e14f59dbd93895f4056ece528efd950 (diff)
Fix warning: ‘NVPatternROP’ defined but not used [-Wunused-const-variable=]
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/nv_xaa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nv_xaa.c b/src/nv_xaa.c
index f1e2dd4..76f8ae4 100644
--- a/src/nv_xaa.c
+++ b/src/nv_xaa.c
@@ -72,6 +72,7 @@ static const int NVCopyROP_PM[16] =
0xFA /* GXset */
};
+#ifdef HAVE_XAA_H
static const int NVPatternROP[16] =
{
0x00,
@@ -91,6 +92,7 @@ static const int NVPatternROP[16] =
0x5F,
0xFF
};
+#endif
void
NVDmaKickoff(NVPtr pNv)