#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 )
|
if( renderFullBright )
|
||||||
{
|
{
|
||||||
savedFormat = format;
|
savedFormat = format;
|
||||||
format = new VertexFormat( savedFormat );
|
format = DefaultVertexFormats.BLOCK;
|
||||||
if( !format.getElements().contains( DefaultVertexFormats.TEX_2S ) )
|
|
||||||
{
|
|
||||||
format.addElement( DefaultVertexFormats.TEX_2S );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for( EnumFacing face : drawFaces )
|
for( EnumFacing face : drawFaces )
|
||||||
|
|
Loading…
Reference in a new issue