]> git.lizzy.rs Git - irrlicht.git/blob - source/Irrlicht/OpenGL/Common.h
3f71f6508c1d7348df61d3b0dd6d1a602d98d34b
[irrlicht.git] / source / Irrlicht / OpenGL / Common.h
1 // Copyright (C) 2023 Vitaliy Lobachevskiy\r
2 // Copyright (C) 2015 Patryk Nadrowski\r
3 // This file is part of the "Irrlicht Engine".\r
4 // For conditions of distribution and use, see copyright notice in irrlicht.h\r
5 \r
6 #pragma once\r
7 \r
8 #define GL_GLEXT_PROTOTYPES\r
9 #include <SDL_video.h>\r
10 #include <SDL_opengl.h>\r
11 \r
12 namespace irr\r
13 {\r
14 namespace video\r
15 {\r
16 \r
17         // Forward declarations.\r
18 \r
19         class COpenGLCoreFeature;\r
20 \r
21         template <class TOpenGLDriver>\r
22         class COpenGLCoreTexture;\r
23 \r
24         template <class TOpenGLDriver, class TOpenGLTexture>\r
25         class COpenGLCoreRenderTarget;\r
26 \r
27         template <class TOpenGLDriver, class TOpenGLTexture>\r
28         class COpenGLCoreCacheHandler;\r
29 \r
30         class COpenGL3Driver;\r
31         typedef COpenGLCoreTexture<COpenGL3Driver> COpenGL3Texture;\r
32         typedef COpenGLCoreRenderTarget<COpenGL3Driver, COpenGL3Texture> COpenGL3RenderTarget;\r
33         typedef COpenGLCoreCacheHandler<COpenGL3Driver, COpenGL3Texture> COpenGL3CacheHandler;\r
34 \r
35 }\r
36 }\r