move ogl-only settings into backend

This commit is contained in:
degasus
2013-03-25 15:14:24 +01:00
parent 81e261eb68
commit 3d5e0a6d3d
6 changed files with 71 additions and 53 deletions

View File

@ -9,6 +9,21 @@ namespace OGL
void ClearEFBCache();
// ogl-only config, so not in VideoConfig.h
extern struct VideoConfig {
bool bSupportsGLSLCache;
bool bSupportsGLPinnedMemory;
bool bSupportsGLSync;
bool bSupportsGLBaseVertex;
bool bSupportCoverageMSAA;
const char *gl_vendor;
const char *gl_renderer;
const char* gl_version;
s32 max_samples;
} g_ogl_config;
class Renderer : public ::Renderer
{
public: