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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user