Skip to content
Permalink
Browse files

FramebufferManager: Fix panic in VertexManager with large EFB depth p…

…oke batches
  • Loading branch information...
stenzek committed Mar 12, 2019
1 parent 22e7419 commit cce7ac43d4187feca6179c7d0f5f1d57cda96564
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Core/VideoCommon/FramebufferManager.cpp
@@ -705,7 +705,7 @@ void FramebufferManager::PokeEFBColor(u32 x, u32 y, u32 color)
void FramebufferManager::PokeEFBDepth(u32 x, u32 y, float depth)
{
// Flush if we exceeded the number of vertices per batch.
if ((m_color_poke_vertices.size() + 6) > MAX_POKE_VERTICES)
if ((m_depth_poke_vertices.size() + 6) > MAX_POKE_VERTICES)
FlushEFBPokes();

CreatePokeVertices(&m_depth_poke_vertices, x, y, depth, 0);

0 comments on commit cce7ac4

Please sign in to comment.
You can’t perform that action at this time.