Fix indentation mistake, minor cleanup.

This commit is contained in:
Henrik Rydgård 2018-03-05 00:03:03 +01:00
parent f086a0915f
commit 8ff5704fbf
2 changed files with 1 additions and 5 deletions

View file

@ -37,7 +37,7 @@
namespace DX9 {
enum DoLightComputation {
enum DoLightComputation {
LIGHT_OFF,
LIGHT_SHADE,
LIGHT_FULL,

View file

@ -441,10 +441,6 @@ struct GPUgstate {
void Restore(u32_le *ptr);
};
inline int vertTypeGetNumBoneWeights(u32 vertType) { return 1 + ((vertType & GE_VTYPE_WEIGHTCOUNT_MASK) >> GE_VTYPE_WEIGHTCOUNT_SHIFT); }
inline int vertTypeGetWeightMask(u32 vertType) { return vertType & GE_VTYPE_WEIGHT_MASK; }
inline int vertTypeGetTexCoordMask(u32 vertType) { return vertType & GE_VTYPE_TC_MASK; }
// The rest is cached simplified/converted data for fast access.
// Does not need to be saved when saving/restoring context.
//