Cleanup: unused var, trailing space
This commit is contained in:
@@ -33,4 +33,4 @@
|
|||||||
# define GWN_INLINE static __forceinline
|
# define GWN_INLINE static __forceinline
|
||||||
#else
|
#else
|
||||||
# define GWN_INLINE static inline __attribute__((always_inline)) __attribute__((__unused__))
|
# define GWN_INLINE static inline __attribute__((always_inline)) __attribute__((__unused__))
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -179,7 +179,7 @@ int GWN_batch_vertbuf_add_ex(
|
|||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// we only make it this far if there is no room for another Gwn_VertBuf
|
// we only make it this far if there is no room for another Gwn_VertBuf
|
||||||
#if TRUST_NO_ONE
|
#if TRUST_NO_ONE
|
||||||
assert(false);
|
assert(false);
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ typedef struct {
|
|||||||
|
|
||||||
GLuint vbo_id;
|
GLuint vbo_id;
|
||||||
GLuint vao_id;
|
GLuint vao_id;
|
||||||
|
|
||||||
GLuint bound_program;
|
GLuint bound_program;
|
||||||
const Gwn_ShaderInterface* shader_interface;
|
const Gwn_ShaderInterface* shader_interface;
|
||||||
Gwn_AttrBinding attrib_binding;
|
Gwn_AttrBinding attrib_binding;
|
||||||
|
|||||||
@@ -270,8 +270,6 @@ eRedrawFlag handleSnapping(TransInfo *t, const wmEvent *event)
|
|||||||
|
|
||||||
void applyProject(TransInfo *t)
|
void applyProject(TransInfo *t)
|
||||||
{
|
{
|
||||||
Main *bmain = CTX_data_main(t->context);
|
|
||||||
|
|
||||||
/* XXX FLICKER IN OBJECT MODE */
|
/* XXX FLICKER IN OBJECT MODE */
|
||||||
if ((t->tsnap.project) && activeSnap(t) && (t->flag & T_NO_PROJECT) == 0) {
|
if ((t->tsnap.project) && activeSnap(t) && (t->flag & T_NO_PROJECT) == 0) {
|
||||||
float tvec[3];
|
float tvec[3];
|
||||||
|
|||||||
Reference in New Issue
Block a user