aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Marshall <jmarshall@never.you.mind>2012-05-26 16:52:10 +1200
committerJonathan Marshall <jmarshall@never.you.mind>2012-06-02 12:15:22 +1200
commitedd22d56290ec6bdb8e32e5273f375d6f5569b37 (patch)
tree5154f32f0f61e5d2425e266a1504508e5892c4a1
parent84e453c333f3d2384ab71a43018aaa4f7e3d157b (diff)
replace ifdef guards with pragma once, and remove inaccurate comments
-rw-r--r--xbmc/guilib/Texture.h11
-rw-r--r--xbmc/guilib/TextureDX.h12
-rw-r--r--xbmc/guilib/TextureGL.h12
3 files changed, 3 insertions, 32 deletions
diff --git a/xbmc/guilib/Texture.h b/xbmc/guilib/Texture.h
index 34ab720d4d..7388a3e8fa 100644
--- a/xbmc/guilib/Texture.h
+++ b/xbmc/guilib/Texture.h
@@ -19,13 +19,8 @@
*
*/
-/*!
-\file Texture.h
-\brief
-*/
+#pragma once
-#ifndef GUILIB_TEXTURE_H
-#define GUILIB_TEXTURE_H
#include "system.h"
#if defined(HAS_GL) || HAS_GLES == 2
#include "system_gl.h"
@@ -47,8 +42,6 @@ class CTexture;
class CGLTexture;
class CDXTexture;
-#pragma once
-
/*!
\ingroup textures
\brief Base texture class, subclasses of which depend on the render spec (DX, GL etc.)
@@ -131,5 +124,3 @@ protected:
#include "TextureDX.h"
#define CTexture CDXTexture
#endif
-
-#endif
diff --git a/xbmc/guilib/TextureDX.h b/xbmc/guilib/TextureDX.h
index 6dabeaac35..7eb3708f20 100644
--- a/xbmc/guilib/TextureDX.h
+++ b/xbmc/guilib/TextureDX.h
@@ -19,18 +19,10 @@
*
*/
-/*!
-\file TextureDX.h
-\brief
-*/
-
-#ifndef GUILIB_TEXTUREDX_H
-#define GUILIB_TEXTUREDX_H
+#pragma once
#include "Texture.h"
-#pragma once
-
#ifdef HAS_DX
/************************************************************************/
@@ -48,5 +40,3 @@ public:
};
#endif
-
-#endif
diff --git a/xbmc/guilib/TextureGL.h b/xbmc/guilib/TextureGL.h
index e208c725f3..c7de18fa0e 100644
--- a/xbmc/guilib/TextureGL.h
+++ b/xbmc/guilib/TextureGL.h
@@ -19,18 +19,10 @@
*
*/
-/*!
-\file TextureManager.h
-\brief
-*/
-
-#ifndef GUILIB_TEXTUREGL_H
-#define GUILIB_TEXTUREGL_H
+#pragma once
#include "Texture.h"
-#pragma once
-
#if defined(HAS_GL) || defined(HAS_GLES)
/************************************************************************/
@@ -48,5 +40,3 @@ public:
};
#endif
-
-#endif