mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
Fixed rendering bugs & crashes (#36)
* Fixed rendering bugs & crashes * Fixed shading of cubes (includes Steve & Camera head) * Fixed crash from rendering of Air item in hand * Fixed crash from right-clicking with Air item in-hand * TripodCameraRenderer no longer uses Cube::renderHorrible --------- Co-authored-by: Brent Da Mage <BrentDaMage@users.noreply.github.com>
This commit is contained in:
@@ -86,9 +86,9 @@ void Cube::compile(float f)
|
||||
void Cube::draw()
|
||||
{
|
||||
#ifdef ENH_ENTITY_SHADING
|
||||
drawArrayVTC(m_buffer, 36, sizeof(Tesselator::Vertex));
|
||||
#else
|
||||
drawArrayVT(m_buffer, 36, sizeof(Tesselator::Vertex));
|
||||
#else
|
||||
drawArrayVTC(m_buffer, 36, sizeof(Tesselator::Vertex));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user