#2489: Use a default vertex format for the custom lightmap in the cube builder as well.

This commit is contained in:
Sebastian Hartte 2016-10-21 13:44:26 +02:00
parent 5b4c3cfdc7
commit 4b607d8fc8
1 changed files with 1 additions and 5 deletions

View File

@ -84,11 +84,7 @@ public class CubeBuilder
if( renderFullBright )
{
savedFormat = format;
format = new VertexFormat( savedFormat );
if( !format.getElements().contains( DefaultVertexFormats.TEX_2S ) )
{
format.addElement( DefaultVertexFormats.TEX_2S );
}
format = DefaultVertexFormats.BLOCK;
}
for( EnumFacing face : drawFaces )