Wrap __attribute__s in macros

This commit is contained in:
Tim Angus committed 2025-09-07 17:16:31 +01:00
1 parent f976711fb4
commit 07b9c1bd83
33 files changed
+88 -114

No files matched your search

-7
View File
@@ -27,13 +27,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
// This file must be identical in the quake and utils directories
//
//Ignore __attribute__ on non-gcc platforms
#ifndef __GNUC__
#ifndef __attribute__
#define __attribute__(x)
#endif
#endif
// surface geometry should not exceed these limits
#define SHADER_MAX_VERTEXES 1000
#define SHADER_MAX_INDEXES (6*SHADER_MAX_VERTEXES)