mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-06 18:25:21 +01:00
Remove unused drawtype shader constant
might lead to better material merging
This commit is contained in:
@@ -791,7 +791,7 @@ u32 IShaderSource::getShader(const std::string &name,
|
||||
{
|
||||
ShaderConstants input_const;
|
||||
input_const["MATERIAL_TYPE"] = (int)material_type;
|
||||
input_const["DRAWTYPE"] = (int)drawtype;
|
||||
(void) drawtype; // unused
|
||||
|
||||
video::E_MATERIAL_TYPE base_mat = video::EMT_SOLID;
|
||||
switch (material_type) {
|
||||
|
||||
Reference in New Issue
Block a user