// Copyright (C) 2015 Patryk Nadrowski // This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h #pragma once #ifdef _IRR_COMPILE_WITH_OPENGL_ #if defined(_IRR_COMPILE_WITH_SDL_DEVICE_) && defined(IRR_PREFER_SDL_GL_HEADER) #include #include #else #include "vendor/gl.h" #endif #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT // To check if this header is in the current compile unit (different GL driver implementations use different "GLCommon" headers in Irrlicht) #define IRR_COMPILE_GL_COMMON namespace irr { namespace video { // Forward declarations. class COpenGLCoreFeature; template class COpenGLCoreTexture; template class COpenGLCoreRenderTarget; template class COpenGLCoreCacheHandler; class COpenGLDriver; typedef COpenGLCoreTexture COpenGLTexture; typedef COpenGLCoreRenderTarget COpenGLRenderTarget; class COpenGLCacheHandler; } } #endif