Skip to content

Commit 9a016a6

Browse files
sapiersapier
sapier
authored and
sapier
committedJul 16, 2014
Fix flipped textures for drawtype "glasslike"
1 parent 65b8b52 commit 9a016a6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎src/content_mapblock.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -710,10 +710,10 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
710710

711711
// The face at Z+
712712
video::S3DVertex vertices[4] = {
713-
video::S3DVertex(-BS/2,-BS/2,BS/2, 0,0,0, c, 0,1),
714-
video::S3DVertex(BS/2,-BS/2,BS/2, 0,0,0, c, 1,1),
715-
video::S3DVertex(BS/2,BS/2,BS/2, 0,0,0, c, 1,0),
716-
video::S3DVertex(-BS/2,BS/2,BS/2, 0,0,0, c, 0,0),
713+
video::S3DVertex(-BS/2,-BS/2,BS/2, 0,0,0, c, 1,1),
714+
video::S3DVertex(BS/2,-BS/2,BS/2, 0,0,0, c, 0,1),
715+
video::S3DVertex(BS/2,BS/2,BS/2, 0,0,0, c, 0,0),
716+
video::S3DVertex(-BS/2,BS/2,BS/2, 0,0,0, c, 1,0),
717717
};
718718

719719
// Rotations in the g_6dirs format

0 commit comments

Comments
 (0)
Please sign in to comment.