Another graphics benchmark compilation fix for non-MSW

Use GraphicsRenderer name for the enum in all ports.

See 573cb961cb
This commit is contained in:
Vadim Zeitlin
2018-09-30 00:31:41 +02:00
parent a8ac1e3240
commit 21a5314c52

View File

@@ -99,11 +99,11 @@ struct GraphicsBenchmarkOptions
useGL; useGL;
#ifdef __WXMSW__ #ifdef __WXMSW__
enum GraphRenderer { Default, GDIPlus, Direct2D, Cairo }; enum GraphicsRenderer { Default, GDIPlus, Direct2D, Cairo };
#else #else
enum GraphicsRenderer { Default }; enum GraphicsRenderer { Default };
#endif // __WXMSW__ / !__WXMSW__ #endif // __WXMSW__ / !__WXMSW__
GraphRenderer renderer; GraphicsRenderer renderer;
} opts; } opts;
class GraphicsBenchmarkFrame : public wxFrame class GraphicsBenchmarkFrame : public wxFrame