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

@ -2062,18 +2062,6 @@ COGLES2Driver::~COGLES2Driver()
return -1;
}
//! Sets a vertex shader constant.
void COGLES2Driver::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 COGLES2Driver::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 COGLES2Driver::setVertexShaderConstant(s32 index, const f32* floats, int count)
{