Cleanup: unused var, trailing space
This commit is contained in:
parent
e36ecb8a66
commit
d97df0d0e6
|
@ -33,4 +33,4 @@
|
|||
# define GWN_INLINE static __forceinline
|
||||
#else
|
||||
# define GWN_INLINE static inline __attribute__((always_inline)) __attribute__((__unused__))
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -47,7 +47,7 @@ typedef struct {
|
|||
|
||||
GLuint vbo_id;
|
||||
GLuint vao_id;
|
||||
|
||||
|
||||
GLuint bound_program;
|
||||
const Gwn_ShaderInterface* shader_interface;
|
||||
Gwn_AttrBinding attrib_binding;
|
||||
|
|
|
@ -270,8 +270,6 @@ eRedrawFlag handleSnapping(TransInfo *t, const wmEvent *event)
|
|||
|
||||
void applyProject(TransInfo *t)
|
||||
{
|
||||
Main *bmain = CTX_data_main(t->context);
|
||||
|
||||
/* XXX FLICKER IN OBJECT MODE */
|
||||
if ((t->tsnap.project) && activeSnap(t) && (t->flag & T_NO_PROJECT) == 0) {
|
||||
float tvec[3];
|
||||
|
|
Loading…
Reference in New Issue