mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Batches decals and reduces the number of state changes.
Reviewed By: wraitii Tested By: Langbart Differential Revision: https://code.wildfiregames.com/D3545 This was SVN commit r24867.
This commit is contained in:
@@ -1147,6 +1147,8 @@ void CPatchRData::RenderOutline()
|
||||
|
||||
void CPatchRData::RenderSides(const std::vector<CPatchRData*>& patches, const CShaderProgramPtr& shader)
|
||||
{
|
||||
PROFILE3("render terrain sides");
|
||||
|
||||
glDisable(GL_CULL_FACE);
|
||||
|
||||
CVertexBuffer* lastVB = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user