mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-06 10:10:25 +02:00
Drop low-level shader constant setters
These don't work on the modern drivers and are unused anyway.
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user