- apply #pragma once to glShared.h

Sun, 27 Apr 2014 04:23:41 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Sun, 27 Apr 2014 04:23:41 +0300
changeset 740
dbf9f1294d94
parent 739
152b33a6d51b
child 741
9580b6e344b4

- apply #pragma once to glShared.h

src/glShared.h file | annotate | diff | comparison | revisions
--- a/src/glShared.h	Sun Apr 27 04:23:09 2014 +0300
+++ b/src/glShared.h	Sun Apr 27 04:23:41 2014 +0300
@@ -16,8 +16,7 @@
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef LDFORGE_GLSHARED_H
-#define LDFORGE_GLSHARED_H
+#pragma once
 #include "basics.h"
 
 class LDObject;
@@ -69,5 +68,3 @@
 #endif
 
 static const int g_numVBOs = VBOSF_NumSurfaces * VBOCM_NumComplements;
-
-#endif // LDFORGE_GLSHARED_H
\ No newline at end of file

mercurial