Drop low-level shader constant setters

These don't work on the modern drivers and are unused anyway.
This commit is contained in:
sfan5
2024-02-20 20:51:01 +01:00
parent 4e9d0db4be
commit 92252f70d2
15 changed files with 0 additions and 139 deletions

View File

@ -1699,18 +1699,6 @@ COpenGL3DriverBase::~COpenGL3DriverBase()
return -1;
}
//! Sets a vertex shader constant.
void COpenGL3DriverBase::setVertexShaderConstant(const f32* data, s32 startRegister, s32 constantAmount)
{
os::Printer::log("Error: Please call services->setVertexShaderConstant(), not VideoDriver->setPixelShaderConstant().");
}
//! Sets a pixel shader constant.
void COpenGL3DriverBase::setPixelShaderConstant(const f32* data, s32 startRegister, s32 constantAmount)
{
os::Printer::log("Error: Please call services->setPixelShaderConstant(), not VideoDriver->setPixelShaderConstant().");
}
//! Sets a constant for the vertex shader based on an index.
bool COpenGL3DriverBase::setVertexShaderConstant(s32 index, const f32* floats, int count)
{