Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2018-07-18 01:12:21 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-07-18 12:49:15 +0300
commit8cd7828792419fb4eac9a2a477968535b4c71535 (patch)
tree8fc733149fe07b7d9edd4b8b1e709519b4481887 /source/blender/gpu/GPU_common.h
parent247ad2034de2c33a6d9cb7d3b6f1ef7ffa5b859d (diff)
GWN: Port to GPU module: Replace GWN prefix by GPU
Diffstat (limited to 'source/blender/gpu/GPU_common.h')
-rw-r--r--source/blender/gpu/GPU_common.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/gpu/GPU_common.h b/source/blender/gpu/GPU_common.h
index 2587e8670a9..cb506c6b0bc 100644
--- a/source/blender/gpu/GPU_common.h
+++ b/source/blender/gpu/GPU_common.h
@@ -23,12 +23,12 @@
* ***** END GPL LICENSE BLOCK *****
*/
-/** \file blender/gpu/gwn_common.h
+/** \file blender/gpu/GPU_common.h
* \ingroup gpu
*/
-#ifndef __GWN_COMMON_H__
-#define __GWN_COMMON_H__
+#ifndef __GPU_COMMON_H__
+#define __GPU_COMMON_H__
#define PROGRAM_NO_OPTI 0
@@ -51,11 +51,11 @@
#include <assert.h>
#endif
-/* GWN_INLINE */
+/* GPU_INLINE */
#if defined(_MSC_VER)
-# define GWN_INLINE static __forceinline
+# define GPU_INLINE static __forceinline
#else
-# define GWN_INLINE static inline __attribute__((always_inline)) __attribute__((__unused__))
+# define GPU_INLINE static inline __attribute__((always_inline)) __attribute__((__unused__))
#endif
-#endif /* __GWN_COMMON_H__ */
+#endif /* __GPU_COMMON_H__ */