From 01e940217e35209519e48cff6b59e53fe1a02f41 Mon Sep 17 00:00:00 2001 From: vladislavbelov Date: Mon, 31 May 2021 20:47:03 +0000 Subject: [PATCH] Adds header safeguards to LOSTexture forgotten in fe21c5e023. This was SVN commit r25620. --- source/graphics/LOSTexture.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source/graphics/LOSTexture.h b/source/graphics/LOSTexture.h index 149739d5bc..f6bd11aa07 100644 --- a/source/graphics/LOSTexture.h +++ b/source/graphics/LOSTexture.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2019 Wildfire Games. +/* Copyright (C) 2021 Wildfire Games. * This file is part of 0 A.D. * * 0 A.D. is free software: you can redistribute it and/or modify @@ -15,6 +15,9 @@ * along with 0 A.D. If not, see . */ +#ifndef INCLUDED_LOSTEXTURE +#define INCLUDED_LOSTEXTURE + #include "lib/ogl.h" #include "graphics/ShaderTechniquePtr.h" @@ -103,3 +106,5 @@ private: CMatrix3D m_TextureMatrix; CMatrix3D m_MinimapTextureMatrix; }; + +#endif // INCLUDED_LOSTEXTURE \ No newline at end of file