Fix load_vertex_data

There was a copy-paste error that set all
uv coordinates to 0,0.
This commit is contained in:
Matthias Clasen
2019-10-14 22:09:12 -04:00
parent 97f3371709
commit b53fa48794

View File

@@ -2721,26 +2721,26 @@ load_vertex_data (GskQuadVertex vertex_data[GL_N_VERTICES],
vertex_data[1].position[0] = min_x;
vertex_data[1].position[1] = max_y;
vertex_data[1].uv[0] = 0;
vertex_data[1].uv[1] = 0;
vertex_data[1].uv[1] = 1;
vertex_data[2].position[0] = max_x;
vertex_data[2].position[1] = min_y;
vertex_data[2].uv[0] = 0;
vertex_data[2].uv[0] = 1;
vertex_data[2].uv[1] = 0;
vertex_data[3].position[0] = max_x;
vertex_data[3].position[1] = max_y;
vertex_data[3].uv[0] = 0;
vertex_data[3].uv[1] = 0;
vertex_data[3].uv[0] = 1;
vertex_data[3].uv[1] = 1;
vertex_data[4].position[0] = min_x;
vertex_data[4].position[1] = max_y;
vertex_data[4].uv[0] = 0;
vertex_data[4].uv[1] = 0;
vertex_data[4].uv[1] = 1;
vertex_data[5].position[0] = max_x;
vertex_data[5].position[1] = min_y;
vertex_data[5].uv[0] = 0;
vertex_data[5].uv[0] = 1;
vertex_data[5].uv[1] = 0;
}