#2489: Use a default vertex format for the custom lightmap in the cube builder as well.
This commit is contained in:
parent
5b4c3cfdc7
commit
4b607d8fc8
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue