summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2018-03-14 21:49:14 +0100
committerThomas Hellstrom <thellstrom@vmware.com>2018-03-14 21:49:14 +0100
commit0f90e2ed52082c1e2af3b47424a6c7c5d4c0c81e (patch)
treef9ab9685ace024263fbe5998aa92026e666ae4bf
parent3cdeaa5db76f5db7ce9482d3e067d3014076f8e4 (diff)
saa: Build compatibility with xserver 1.20
fbGetRotatedPixmap went away with 24bpp support, just treat it as NULL and we'll do the right thing. Signed-off-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
-rw-r--r--src/common_compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common_compat.h b/src/common_compat.h
index 3cd3139..4efe350 100644
--- a/src/common_compat.h
+++ b/src/common_compat.h
@@ -33,5 +33,9 @@ xf86SaveModeContents(DisplayModePtr intern, const DisplayModeRec *mode)
}
#endif
+#ifndef fbGetRotatedPixmap
+#define fbGetRotatedPixmap(_pGC) NULL
+#endif
+
#endif