Browse Source

Bugfix: opencl: TUI manage: "Change settings" must not be compiled in with no-ADL builds

Luke Dashjr 12 years ago
parent
commit
0550f0806e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      driver-opencl.c

+ 2 - 0
driver-opencl.c

@@ -906,8 +906,10 @@ static
 void opencl_tui_wlogprint_choices(struct cgpu_info *cgpu)
 {
 	wlogprint("[I]ntensity [R]estart GPU ");
+#ifdef HAVE_ADL
 	if (cgpu->has_adl)
 		wlogprint("[C]hange settings ");
+#endif
 }
 
 static