mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
applySkinInDecode belongs in the VertexTypeID, not in the options.
This commit is contained in:
1 parent
ee2f221938
commit
e74101a2fb
13 files changed
+64
-58
No files matched your search
@@ -63,7 +63,7 @@ SoftwareDrawEngine::~SoftwareDrawEngine() {}
|
||||
|
||||
void SoftwareDrawEngine::NotifyConfigChanged() {
|
||||
DrawEngineCommon::NotifyConfigChanged();
|
||||
decOptions_.applySkinInDecode = true;
|
||||
applySkinInDecode_ = true;
|
||||
}
|
||||
|
||||
void SoftwareDrawEngine::Flush() {
|
||||
@@ -973,8 +973,8 @@ bool TransformUnit::GetCurrentSimpleVertices(int count, std::vector<GPUDebugVert
|
||||
|
||||
VertexDecoder vdecoder;
|
||||
VertexDecoderOptions options{};
|
||||
options.applySkinInDecode = true;
|
||||
vdecoder.SetVertexType(gstate.vertType, options);
|
||||
u32 vertTypeID = GetVertTypeID(gstate.vertType, gstate.getUVGenMode(), true);
|
||||
vdecoder.SetVertexType(vertTypeID, options);
|
||||
|
||||
if (!Memory::IsValidRange(gstate_c.vertexAddr, (indexUpperBound + 1) * vdecoder.VertexSize()))
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user