summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/remote/remote_comms.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/remote/remote_comms.c')
-rw-r--r--src/gallium/drivers/remote/remote_comms.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/remote/remote_comms.c b/src/gallium/drivers/remote/remote_comms.c
index fb788c328f..7a0f417dab 100644
--- a/src/gallium/drivers/remote/remote_comms.c
+++ b/src/gallium/drivers/remote/remote_comms.c
@@ -129,6 +129,7 @@ void* allocate_message_memory(size_t bytes) {
}
+#ifdef DEBUG_RING_WRITE
static void debug_print_bytes(char* bytes, int n) {
for(int i = 0; i < n; i++) {
@@ -140,6 +141,7 @@ static void debug_print_bytes(char* bytes, int n) {
printf("\n");
}
+#endif // DEBUG_RING_WRITE
static int sendsome(uint32_t* readoff, uint32_t* writeoff, uint32_t bufsize, char* writebuf, char* data, int length) {