mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-09 19:45:21 +01:00
Remove irr namespace (#16309)
This commit is contained in:
@@ -6,13 +6,10 @@
|
||||
|
||||
#include "SIrrCreationParameters.h"
|
||||
|
||||
namespace irr
|
||||
{
|
||||
class CIrrDeviceWin32;
|
||||
class CIrrDeviceLinux;
|
||||
class CIrrDeviceSDL;
|
||||
class CIrrDeviceMacOSX;
|
||||
}
|
||||
|
||||
#ifdef _IRR_COMPILE_WITH_OPENGL_
|
||||
|
||||
@@ -22,9 +19,6 @@ class CIrrDeviceMacOSX;
|
||||
#include "COpenGLExtensionHandler.h"
|
||||
#include "IContextManager.h"
|
||||
|
||||
namespace irr
|
||||
{
|
||||
|
||||
namespace video
|
||||
{
|
||||
class IContextManager;
|
||||
@@ -263,7 +257,7 @@ public:
|
||||
const io::path &name = "rt", const ECOLOR_FORMAT format = ECF_UNKNOWN) override;
|
||||
|
||||
//! Creates a render target texture for a cubemap
|
||||
ITexture *addRenderTargetTextureCubemap(const irr::u32 sideLen,
|
||||
ITexture *addRenderTargetTextureCubemap(const u32 sideLen,
|
||||
const io::path &name, const ECOLOR_FORMAT format) override;
|
||||
|
||||
virtual bool setRenderTargetEx(IRenderTarget *target, u16 clearFlag, SColor clearColor = SColor(255, 0, 0, 0),
|
||||
@@ -294,7 +288,7 @@ public:
|
||||
bool queryTextureFormat(ECOLOR_FORMAT format) const override;
|
||||
|
||||
//! Used by some SceneNodes to check if a material should be rendered in the transparent render pass
|
||||
bool needsTransparentRenderPass(const irr::video::SMaterial &material) const override;
|
||||
bool needsTransparentRenderPass(const video::SMaterial &material) const override;
|
||||
|
||||
//! Convert E_PRIMITIVE_TYPE to OpenGL equivalent
|
||||
GLenum primitiveTypeToGL(scene::E_PRIMITIVE_TYPE type) const;
|
||||
@@ -399,6 +393,5 @@ private:
|
||||
};
|
||||
|
||||
} // end namespace video
|
||||
} // end namespace irr
|
||||
|
||||
#endif // _IRR_COMPILE_WITH_OPENGL_
|
||||
|
||||
Reference in New Issue
Block a user