mirror of
https://github.com/minetest/irrlicht.git
synced 2025-09-18 06:15:44 +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:
@@ -13,7 +13,6 @@
|
||||
|
||||
#include "COpenGLCacheHandler.h"
|
||||
#include "COpenGLMaterialRenderer.h"
|
||||
#include "COpenGLShaderMaterialRenderer.h"
|
||||
#include "COpenGLSLMaterialRenderer.h"
|
||||
|
||||
#include "COpenGLCoreTexture.h"
|
||||
@@ -3424,23 +3423,6 @@ bool COpenGLDriver::setPixelShaderConstant(s32 index, const u32* ints, int count
|
||||
}
|
||||
|
||||
|
||||
//! Adds a new material renderer to the VideoDriver, using pixel and/or
|
||||
//! vertex shaders to render geometry.
|
||||
s32 COpenGLDriver::addShaderMaterial(const c8* vertexShaderProgram,
|
||||
const c8* pixelShaderProgram,
|
||||
IShaderConstantSetCallBack* callback,
|
||||
E_MATERIAL_TYPE baseMaterial, s32 userData)
|
||||
{
|
||||
s32 nr = -1;
|
||||
COpenGLShaderMaterialRenderer* r = new COpenGLShaderMaterialRenderer(
|
||||
this, nr, vertexShaderProgram, pixelShaderProgram,
|
||||
callback, baseMaterial, userData);
|
||||
|
||||
r->drop();
|
||||
return nr;
|
||||
}
|
||||
|
||||
|
||||
//! Adds a new material renderer to the VideoDriver, using GLSL to render geometry.
|
||||
s32 COpenGLDriver::addHighLevelShaderMaterial(
|
||||
const c8* vertexShaderProgram,
|
||||
|
Reference in New Issue
Block a user