aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_unai/gpulib_if.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gpu_unai/gpulib_if.cpp')
-rw-r--r--plugins/gpu_unai/gpulib_if.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/gpu_unai/gpulib_if.cpp b/plugins/gpu_unai/gpulib_if.cpp
index 8b5174e..78870de 100644
--- a/plugins/gpu_unai/gpulib_if.cpp
+++ b/plugins/gpu_unai/gpulib_if.cpp
@@ -143,6 +143,7 @@ void renderer_notify_res_change(void)
*/
}
+#ifdef USE_GPULIB
// Handles GP0 draw settings commands 0xE1...0xE6
static void gpuGP0Cmd_0xEx(gpu_unai_t &gpu_unai, u32 cmd_word)
{
@@ -209,6 +210,7 @@ static void gpuGP0Cmd_0xEx(gpu_unai_t &gpu_unai, u32 cmd_word)
} break;
}
}
+#endif
extern const unsigned char cmd_lengths[256];