mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix indentation mistake, minor cleanup.
This commit is contained in:
parent
f086a0915f
commit
8ff5704fbf
2 changed files with 1 additions and 5 deletions
|
@ -37,7 +37,7 @@
|
|||
|
||||
namespace DX9 {
|
||||
|
||||
enum DoLightComputation {
|
||||
enum DoLightComputation {
|
||||
LIGHT_OFF,
|
||||
LIGHT_SHADE,
|
||||
LIGHT_FULL,
|
||||
|
|
|
@ -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.
|
||||
//
|
||||
|
|
Loading…
Add table
Reference in a new issue