1
0
forked from mirrors/0ad

Adds renderer backend interface and dummy backend.

Comments By: phosit, Stan
Tested By: Langbart, phosit
Differential Revision: https://code.wildfiregames.com/D4636
This was SVN commit r26858.
This commit is contained in:
vladislavbelov
2022-05-08 22:02:46 +00:00
parent c5f71d6b87
commit 62e589ab76
113 changed files with 2359 additions and 672 deletions
+2 -2
View File
@@ -68,7 +68,7 @@ ShaderRenderModifier::ShaderRenderModifier()
}
void ShaderRenderModifier::BeginPass(
Renderer::Backend::GL::CDeviceCommandContext* deviceCommandContext,
Renderer::Backend::IDeviceCommandContext* deviceCommandContext,
Renderer::Backend::IShaderProgram* shader)
{
const CMatrix3D transform =
@@ -133,7 +133,7 @@ void ShaderRenderModifier::BeginPass(
}
void ShaderRenderModifier::PrepareModel(
Renderer::Backend::GL::CDeviceCommandContext* deviceCommandContext,
Renderer::Backend::IDeviceCommandContext* deviceCommandContext,
CModel* model)
{
if (m_BindingInstancingTransform >= 0)