]> git.lizzy.rs Git - irrlicht.git/blobdiff - source/Irrlicht/CEGLManager.h
Reduce IrrCompileConfig usage to files that actually need it
[irrlicht.git] / source / Irrlicht / CEGLManager.h
index d256e63dfea14c1e6a9034a98d6c7ad3d866e8ee..78e96c882fa016677507f2c6935f3bdeb087046e 100755 (executable)
@@ -5,7 +5,6 @@
 #ifndef __C_EGL_MANAGER_H_INCLUDED__\r
 #define __C_EGL_MANAGER_H_INCLUDED__\r
 \r
-#include "IrrCompileConfig.h"\r
 \r
 #ifdef _IRR_COMPILE_WITH_EGL_MANAGER_\r
 \r
@@ -32,42 +31,42 @@ namespace video
                // Initialize EGL.\r
                /* This method initialize EGLand create EGL display, anyway surface and context\r
                aren't create. */\r
-               virtual bool initialize(const SIrrlichtCreationParameters& params, const SExposedVideoData& data) _IRR_OVERRIDE_;\r
+               bool initialize(const SIrrlichtCreationParameters& params, const SExposedVideoData& data) override;\r
 \r
                // Terminate EGL.\r
                /* Terminate EGL context. This method break both existed surface and context. */\r
-               virtual void terminate() _IRR_OVERRIDE_;\r
+               void terminate() override;\r
 \r
                // Create EGL surface.\r
                /* This method create EGL surface. On some platforms eg. Android, we must\r
                recreate surface on each resume, because WindowID may change, so existed\r
                surface may not be valid. If EGL context already exist, this method\r
                automatically activates it. */\r
-               virtual bool generateSurface() _IRR_OVERRIDE_;\r
+               bool generateSurface() override;\r
 \r
                // Destroy EGL surface.\r
                /* This method destroy EGL. On some platforms eg. Android, we should call\r
                this method on each pause, because after resume this surface may not be valid.\r
                Hovewer this method doesn'r break EGL context. */\r
-               virtual void destroySurface() _IRR_OVERRIDE_;\r
+               void destroySurface() override;\r
 \r
                // Create EGL context.\r
                /* This method create and activate EGL context. */\r
-               virtual bool generateContext() _IRR_OVERRIDE_;\r
+               bool generateContext() override;\r
 \r
                // Destroy EGL context.\r
                /* This method destroy EGL context. */\r
-               virtual void destroyContext() _IRR_OVERRIDE_;\r
+               void destroyContext() override;\r
 \r
-               virtual const SExposedVideoData& getContext() const _IRR_OVERRIDE_;\r
+               const SExposedVideoData& getContext() const override;\r
 \r
-               virtual bool activateContext(const SExposedVideoData& videoData, bool restorePrimaryOnZero) _IRR_OVERRIDE_;\r
+               bool activateContext(const SExposedVideoData& videoData, bool restorePrimaryOnZero) override;\r
 \r
                // Get procedure address.\r
-               virtual void* getProcAddress(const std::string &procName) _IRR_OVERRIDE_;\r
+               void* getProcAddress(const std::string &procName) override;\r
 \r
                // Swap buffers.\r
-               virtual bool swapBuffers() _IRR_OVERRIDE_;\r
+               bool swapBuffers() override;\r
 \r
        protected:\r
                enum EConfigStyle\r