diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-08 15:55:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-08 15:56:09 +0300 |
commit | d97df0d0e682c56b0cc24e89398651d1d22e9ac3 (patch) | |
tree | e393f7267f9fed8d8b01153c1d43466c037243fc /intern/gawain | |
parent | e36ecb8a66574ccbed5d6888b5d4c8bbc197029f (diff) |
Cleanup: unused var, trailing space
Diffstat (limited to 'intern/gawain')
-rw-r--r-- | intern/gawain/gawain/gwn_common.h | 2 | ||||
-rw-r--r-- | intern/gawain/src/gwn_batch.c | 2 | ||||
-rw-r--r-- | intern/gawain/src/gwn_immediate.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/intern/gawain/gawain/gwn_common.h b/intern/gawain/gawain/gwn_common.h index dc0a52ca096..f1512bf4466 100644 --- a/intern/gawain/gawain/gwn_common.h +++ b/intern/gawain/gawain/gwn_common.h @@ -33,4 +33,4 @@ # define GWN_INLINE static __forceinline #else # define GWN_INLINE static inline __attribute__((always_inline)) __attribute__((__unused__)) -#endif
\ No newline at end of file +#endif diff --git a/intern/gawain/src/gwn_batch.c b/intern/gawain/src/gwn_batch.c index 2e3a4eff0f0..64d5d146578 100644 --- a/intern/gawain/src/gwn_batch.c +++ b/intern/gawain/src/gwn_batch.c @@ -179,7 +179,7 @@ int GWN_batch_vertbuf_add_ex( return v; } } - + // we only make it this far if there is no room for another Gwn_VertBuf #if TRUST_NO_ONE assert(false); diff --git a/intern/gawain/src/gwn_immediate.c b/intern/gawain/src/gwn_immediate.c index 006af0abe01..b0b587d1b8c 100644 --- a/intern/gawain/src/gwn_immediate.c +++ b/intern/gawain/src/gwn_immediate.c @@ -47,7 +47,7 @@ typedef struct { GLuint vbo_id; GLuint vao_id; - + GLuint bound_program; const Gwn_ShaderInterface* shader_interface; Gwn_AttrBinding attrib_binding; |