]> git.lizzy.rs Git - irrlicht.git/blobdiff - source/Irrlicht/OpenGL/Renderer2D.h
Fix line endings in the new driver
[irrlicht.git] / source / Irrlicht / OpenGL / Renderer2D.h
index 806d1e7cd28682806743cc3d7cc019fd1a56c969..426a8b7775a8574eddc3cbd16fa3db84f4475d6b 100644 (file)
@@ -1,33 +1,33 @@
-// Copyright (C) 2014 Patryk Nadrowski\r
-// This file is part of the "Irrlicht Engine".\r
-// For conditions of distribution and use, see copyright notice in Irrlicht.h\r
-\r
-#pragma once\r
-\r
-#include "MaterialRenderer.h"\r
-\r
-namespace irr\r
-{\r
-namespace video\r
-{\r
-\r
-class COpenGL3Renderer2D : public COpenGL3MaterialRenderer\r
-{\r
-public:\r
-       COpenGL3Renderer2D(const c8* vertexShaderProgram, const c8* pixelShaderProgram, COpenGL3DriverBase* driver, bool withTexture);\r
-       ~COpenGL3Renderer2D();\r
-\r
-       virtual void OnSetMaterial(const SMaterial& material, const SMaterial& lastMaterial,\r
-               bool resetAllRenderstates, IMaterialRendererServices* services);\r
-\r
-       virtual bool OnRender(IMaterialRendererServices* service, E_VERTEX_TYPE vtxtype);\r
-\r
-protected:\r
-       bool WithTexture;\r
-       s32 ThicknessID;\r
-       s32 TextureUsageID;\r
-};\r
-\r
-\r
-}\r
-}\r
+// Copyright (C) 2014 Patryk Nadrowski
+// This file is part of the "Irrlicht Engine".
+// For conditions of distribution and use, see copyright notice in Irrlicht.h
+
+#pragma once
+
+#include "MaterialRenderer.h"
+
+namespace irr
+{
+namespace video
+{
+
+class COpenGL3Renderer2D : public COpenGL3MaterialRenderer
+{
+public:
+       COpenGL3Renderer2D(const c8* vertexShaderProgram, const c8* pixelShaderProgram, COpenGL3DriverBase* driver, bool withTexture);
+       ~COpenGL3Renderer2D();
+
+       virtual void OnSetMaterial(const SMaterial& material, const SMaterial& lastMaterial,
+               bool resetAllRenderstates, IMaterialRendererServices* services);
+
+       virtual bool OnRender(IMaterialRendererServices* service, E_VERTEX_TYPE vtxtype);
+
+protected:
+       bool WithTexture;
+       s32 ThicknessID;
+       s32 TextureUsageID;
+};
+
+
+}
+}