Fix building benchmarks with wxUSE_LIBTIFF == 0
This commit is contained in:
parent
2b331a9463
commit
3873a78f61
@ -43,6 +43,7 @@ BENCHMARK_FUNC(LoadPNG)
|
||||
return image.LoadFile("horse.png");
|
||||
}
|
||||
|
||||
#if wxUSE_LIBTIFF
|
||||
BENCHMARK_FUNC(LoadTIFF)
|
||||
{
|
||||
static bool s_handlerAdded = false;
|
||||
@ -55,6 +56,7 @@ BENCHMARK_FUNC(LoadTIFF)
|
||||
wxImage image;
|
||||
return image.LoadFile("horse.tif");
|
||||
}
|
||||
#endif // wxUSE_LIBTIFF
|
||||
|
||||
static const wxImage& GetTestImage()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user