Skip to content

Commit

Permalink
gsdx ogl: fix bad interaction between accurate blending and geometry …
Browse files Browse the repository at this point in the history
…shader

Recent optimization allow to use triangle to render sprite even when gs is supported

close #1574
  • Loading branch information
gregory38 committed Sep 20, 2016
1 parent c64e8f9 commit b00ae97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/GSdx/GSRendererOGL.cpp
Expand Up @@ -1010,7 +1010,7 @@ void GSRendererOGL::SendDraw()
glTextureBarrier();
dev->DrawIndexedPrimitive();
} else if (m_vt.m_primclass == GS_SPRITE_CLASS) {
size_t nb_vertex = (GLLoader::found_geometry_shader) ? 2 : 6;
size_t nb_vertex = (m_gs_sel.sprite == 1) ? 2 : 6;

GL_PUSH("Split the draw (SPRITE)");

Expand Down

0 comments on commit b00ae97

Please sign in to comment.