mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
applySkinInDecode belongs in the VertexTypeID, not in the options.
This commit is contained in:
@@ -1360,15 +1360,13 @@ void ImGeStateWindow::Draw(ImConfig &cfg, ImControl &control, GPUDebugInterface
|
||||
if (!gpuDebug->GetCurrentSimpleVertices(rowCount_, vertices, indices)) {
|
||||
rowCount_ = 0;
|
||||
}
|
||||
VertexDecoderOptions options{};
|
||||
// TODO: Maybe an option?
|
||||
options.applySkinInDecode = true;
|
||||
|
||||
auto buildVertexTable = [&](bool raw) {
|
||||
// Ignore indices for now.
|
||||
if (ImGui::BeginTable("rawverts", VERTEXLIST_COL_COUNT + 1, tableFlags)) {
|
||||
static VertexDecoder decoder;
|
||||
decoder.SetVertexType(state.vertType, options);
|
||||
u32 vertTypeID = GetVertTypeID(state.vertType, state.getUVGenMode(), true);
|
||||
VertexDecoderOptions options{};
|
||||
decoder.SetVertexType(vertTypeID, options);
|
||||
|
||||
static const char * const colNames[] = {
|
||||
"Index",
|
||||
|
||||
Reference in New Issue
Block a user