mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
Remove obsolete flag
This commit is contained in:
1 parent
fcd48b76de
commit
3e11e54405
3 files changed
+1
-6
No files matched your search
@@ -1265,7 +1265,7 @@ void VertexDecoder::SetVertexType(u32 fmt, const VertexDecoderOptions &options,
|
||||
decOff += DecFmtSize(DecVtxFormat::PosFmt());
|
||||
}
|
||||
|
||||
decFmt.stride = options.alignOutputToWord ? align(decOff, 4) : decOff;
|
||||
decFmt.stride = align(decOff, 4);
|
||||
|
||||
decFmt.ComputeID();
|
||||
|
||||
|
||||
@@ -326,7 +326,6 @@ struct VertexDecoderOptions {
|
||||
bool expandAllWeightsToFloat;
|
||||
bool expand8BitNormalsToFloat;
|
||||
bool applySkinInDecode;
|
||||
bool alignOutputToWord;
|
||||
};
|
||||
|
||||
class VertexDecoder {
|
||||
|
||||
@@ -62,10 +62,6 @@ DrawEngineVulkan::DrawEngineVulkan(Draw::DrawContext *draw)
|
||||
: draw_(draw) {
|
||||
decOptions_.expandAllWeightsToFloat = false;
|
||||
decOptions_.expand8BitNormalsToFloat = false;
|
||||
#if PPSSPP_PLATFORM(MAC) || PPSSPP_PLATFORM(IOS)
|
||||
decOptions_.alignOutputToWord = true;
|
||||
#endif
|
||||
|
||||
indexGen.Setup(decIndex_);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user