mirror of
https://github.com/minetest/irrlicht.git
synced 2025-06-28 06:20:21 +02:00
Drop old shader material functions
I'm not sure what these actually are, but the situation is the same as the last commit.
This commit is contained in:
@ -1739,18 +1739,6 @@ COpenGL3DriverBase::~COpenGL3DriverBase()
|
||||
return false;
|
||||
}
|
||||
|
||||
//! Adds a new material renderer to the VideoDriver, using pixel and/or
|
||||
//! vertex shaders to render geometry.
|
||||
s32 COpenGL3DriverBase::addShaderMaterial(const c8* vertexShaderProgram,
|
||||
const c8* pixelShaderProgram,
|
||||
IShaderConstantSetCallBack* callback,
|
||||
E_MATERIAL_TYPE baseMaterial, s32 userData)
|
||||
{
|
||||
os::Printer::log("No shader support.");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
//! Adds a new material renderer to the VideoDriver, using GLSL to render geometry.
|
||||
s32 COpenGL3DriverBase::addHighLevelShaderMaterial(
|
||||
const c8* vertexShaderProgram,
|
||||
|
@ -186,10 +186,6 @@ namespace video
|
||||
//! Uint interface for the above.
|
||||
bool setPixelShaderConstant(s32 index, const u32* ints, int count) override;
|
||||
|
||||
//! Adds a new material renderer to the VideoDriver
|
||||
virtual s32 addShaderMaterial(const c8* vertexShaderProgram, const c8* pixelShaderProgram,
|
||||
IShaderConstantSetCallBack* callback, E_MATERIAL_TYPE baseMaterial, s32 userData) override;
|
||||
|
||||
//! Adds a new material renderer to the VideoDriver
|
||||
virtual s32 addHighLevelShaderMaterial(
|
||||
const c8* vertexShaderProgram,
|
||||
|
Reference in New Issue
Block a user