diff --git a/app/src/main/cpp/skyline/gpu/interconnect/graphics_context.h b/app/src/main/cpp/skyline/gpu/interconnect/graphics_context.h index def59b06..3831ad3e 100644 --- a/app/src/main/cpp/skyline/gpu/interconnect/graphics_context.h +++ b/app/src/main/cpp/skyline/gpu/interconnect/graphics_context.h @@ -1195,7 +1195,7 @@ namespace skyline::gpu::interconnect { BufferView *GetVertexBuffer(size_t index) { auto &vertexBuffer{vertexBuffers.at(index)}; - if (vertexBuffer.disabled || vertexBuffer.start > vertexBuffer.end) + if (vertexBuffer.disabled || vertexBuffer.start > vertexBuffer.end || vertexBuffer.start == 0 || vertexBuffer.end == 0) return nullptr; else if (vertexBuffer.view) return &*vertexBuffer.view;