Merge pull request #4918 from vitor-k/warnings

Silence warnings from unused code and mismatched declaration
This commit is contained in:
Pengfei Zhu
2019-09-06 22:08:06 +08:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -1738,7 +1738,6 @@ struct Vertex {
semantic(VSOutputAttributes::POSITION_Y) + ", " +
semantic(VSOutputAttributes::POSITION_Z) + ", " +
semantic(VSOutputAttributes::POSITION_W) + ");\n";
semantic(VSOutputAttributes::POSITION_W) + ");\n";
out += " gl_Position = vtx_pos;\n";
out += "#if !defined(CITRA_GLES) || defined(GL_EXT_clip_cull_distance)\n";
out += " gl_ClipDistance[0] = -vtx_pos.z;\n"; // fixed PICA clipping plane z <= 0