gsdx: miss break / inline function in header

This commit is contained in:
Gregory Hainaut 2014-07-12 16:00:10 +02:00
parent 492d67c6e8
commit 47bf88ed3f
2 changed files with 7 additions and 1 deletions

View File

@ -2425,6 +2425,8 @@ __forceinline void GSState::VertexKick(uint32 skip)
pmin = v2.min_i16(v1.min_i16(v3));
pmax = v2.max_i16(v1.max_i16(v3));
break;
default:
break;
}
GSVector4i test = pmax.lt16(m_scissor) | pmin.gt16(m_scissor.zwzwl());
@ -2437,6 +2439,8 @@ __forceinline void GSState::VertexKick(uint32 skip)
case GS_SPRITE:
test |= m_nativeres ? pmin.eq16(pmax).zwzwl() : pmin.eq16(pmax);
break;
default:
break;
}
switch(prim)
@ -2460,6 +2464,8 @@ __forceinline void GSState::VertexKick(uint32 skip)
*/
test = (test | v3 == v1) | (v1 == v2 | v3 == v2);
break;
default:
break;
}
skip |= test.mask() & 15;

View File

@ -361,7 +361,7 @@ struct aligned_free_second {template<class T> void operator()(T& p) {_aligned_fr
#if defined(__USE_ISOC11)
#define _aligned_malloc(size, a) aligned_alloc(a, size)
static void _aligned_free(void* p) { free(p); }
static inline void _aligned_free(void* p) { free(p); }
#elif !defined(HAVE_ALIGNED_MALLOC)