From 21a5314c5292ca52615e52cf1e62a4e5781506f4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 30 Sep 2018 00:31:41 +0200 Subject: [PATCH] Another graphics benchmark compilation fix for non-MSW Use GraphicsRenderer name for the enum in all ports. See 573cb961cba2470372f4bfb8592c98257c5ae809 --- tests/benchmarks/graphics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/benchmarks/graphics.cpp b/tests/benchmarks/graphics.cpp index 2d54a8adc8..dd8aa48fca 100644 --- a/tests/benchmarks/graphics.cpp +++ b/tests/benchmarks/graphics.cpp @@ -99,11 +99,11 @@ struct GraphicsBenchmarkOptions useGL; #ifdef __WXMSW__ - enum GraphRenderer { Default, GDIPlus, Direct2D, Cairo }; + enum GraphicsRenderer { Default, GDIPlus, Direct2D, Cairo }; #else enum GraphicsRenderer { Default }; #endif // __WXMSW__ / !__WXMSW__ - GraphRenderer renderer; + GraphicsRenderer renderer; } opts; class GraphicsBenchmarkFrame : public wxFrame