Skip to content

Commit

Permalink
nv2a: Fix missing emit_vertex param
Browse files Browse the repository at this point in the history
  • Loading branch information
mborgerson committed Jun 26, 2022
1 parent 63f4839 commit db389b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/xbox/nv2a/shaders.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ static MString* generate_geometry_shader(
layout_in = "layout(triangles) in;\n";
layout_out = "layout(line_strip, max_vertices = 4) out;\n";
body = " if (gl_PrimitiveIDIn == 0) {\n"
" emit_vertex(0);\n"
" emit_vertex(0, 0);\n"
" }\n"
" emit_vertex(1, 0);\n"
" emit_vertex(2, 0);\n"
Expand Down

0 comments on commit db389b1

Please sign in to comment.