Set useCoreContext outside of ifdef windows

This commit is contained in:
vlj 2014-09-26 23:03:44 +02:00
parent f41c1497cf
commit 3b393b8618

View File

@ -31,7 +31,7 @@ namespace irr
{ {
namespace video namespace video
{ {
bool useCoreContext;
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
// WINDOWS CONSTRUCTOR // WINDOWS CONSTRUCTOR
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
@ -88,7 +88,6 @@ bool COpenGLDriver::changeRenderContext(const SExposedVideoData& videoData, CIrr
} }
static PFNWGLCREATECONTEXTATTRIBSARBPROC wglCreateContextAttribs_ARB; static PFNWGLCREATECONTEXTATTRIBSARBPROC wglCreateContextAttribs_ARB;
bool useCoreContext;
static HGLRC getMeAGLContext(HDC HDc) static HGLRC getMeAGLContext(HDC HDc)
{ {