Fix indentation mistake, minor cleanup.

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

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@
namespace DX9 {
enum DoLightComputation {
enum DoLightComputation {
LIGHT_OFF,
LIGHT_SHADE,
LIGHT_FULL,
-4
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.
//