aboutsummaryrefslogtreecommitdiff
path: root/source/Irrlicht/OpenGL/Common.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Irrlicht/OpenGL/Common.h')
-rw-r--r--source/Irrlicht/OpenGL/Common.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/source/Irrlicht/OpenGL/Common.h b/source/Irrlicht/OpenGL/Common.h
new file mode 100644
index 0000000..a69bcc6
--- /dev/null
+++ b/source/Irrlicht/OpenGL/Common.h
@@ -0,0 +1,36 @@
+// Copyright (C) 2023 Vitaliy Lobachevskiy
+// 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
+
+#define GL_GLEXT_PROTOTYPES
+#include <SDL_video.h>
+#include <SDL_opengl.h>
+
+namespace irr
+{
+namespace video
+{
+
+ // Forward declarations.
+
+ class COpenGLCoreFeature;
+
+ template <class TOpenGLDriver>
+ class COpenGLCoreTexture;
+
+ template <class TOpenGLDriver, class TOpenGLTexture>
+ class COpenGLCoreRenderTarget;
+
+ template <class TOpenGLDriver, class TOpenGLTexture>
+ class COpenGLCoreCacheHandler;
+
+ class COpenGL3DriverBase;
+ typedef COpenGLCoreTexture<COpenGL3DriverBase> COpenGL3Texture;
+ typedef COpenGLCoreRenderTarget<COpenGL3DriverBase, COpenGL3Texture> COpenGL3RenderTarget;
+ typedef COpenGLCoreCacheHandler<COpenGL3DriverBase, COpenGL3Texture> COpenGL3CacheHandler;
+
+}
+}