summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/libgl-gdi/libgl_gdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/libgl-gdi/libgl_gdi.c')
-rw-r--r--src/gallium/targets/libgl-gdi/libgl_gdi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/targets/libgl-gdi/libgl_gdi.c b/src/gallium/targets/libgl-gdi/libgl_gdi.c
index 3f7dc00b080..a2fb161c682 100644
--- a/src/gallium/targets/libgl-gdi/libgl_gdi.c
+++ b/src/gallium/targets/libgl-gdi/libgl_gdi.c
@@ -78,6 +78,8 @@ gdi_screen_create(void)
if (strcmp(driver, "llvmpipe") == 0) {
screen = llvmpipe_create_screen( winsys );
}
+#else
+ (void) driver;
#endif
if (screen == NULL) {