aboutsummaryrefslogtreecommitdiff
path: root/source/Irrlicht/COGLESCoreExtensionHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Irrlicht/COGLESCoreExtensionHandler.h')
-rw-r--r--source/Irrlicht/COGLESCoreExtensionHandler.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/source/Irrlicht/COGLESCoreExtensionHandler.h b/source/Irrlicht/COGLESCoreExtensionHandler.h
index ce6ea1d..1b4a2bb 100644
--- a/source/Irrlicht/COGLESCoreExtensionHandler.h
+++ b/source/Irrlicht/COGLESCoreExtensionHandler.h
@@ -2,13 +2,10 @@
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in Irrlicht.h
-#ifndef __E_OGLES_CORE_EXTENSION_HANDLER_H_INCLUDED__
-#define __E_OGLES_CORE_EXTENSION_HANDLER_H_INCLUDED__
-
+#pragma once
// Can be included from different ES versions
// (this is also the reason why this file is header-only as correct OGL ES headers have to be included first)
-#if defined(_IRR_COMPILE_WITH_OGLES2_) || defined(_IRR_COMPILE_WITH_OGLES1_)
#include "irrMath.h"
#include "COpenGLCoreFeature.h"
@@ -773,6 +770,3 @@ namespace video
};
}
}
-
-#endif // defined(_IRR_COMPILE_WITH_OGLES2_) || defined(_IRR_COMPILE_WITH_OGLES1_)
-#endif // __E_OGLES_CORE_EXTENSION_HANDLER_H_INCLUDED__