began graphics backend enum
This commit is contained in:
@@ -37,6 +37,14 @@ class RenderManager : public ThreadPool
|
|||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
|
enum Backend {
|
||||||
|
/// Graphics acceleration provided by OpenGL
|
||||||
|
kOpenGL,
|
||||||
|
|
||||||
|
/// No graphics rendering - used to test core threading logic
|
||||||
|
kDummy
|
||||||
|
};
|
||||||
|
|
||||||
static void CreateInstance()
|
static void CreateInstance()
|
||||||
{
|
{
|
||||||
instance_ = new RenderManager();
|
instance_ = new RenderManager();
|
||||||
|
|||||||
Reference in New Issue
Block a user