metal: initial barebones texture reflection in shaders

This commit is contained in:
Alex Szpakowski
2020-07-29 18:11:20 -03:00
parent 426798ab10
commit eea78884d3
3 changed files with 44 additions and 6 deletions
+1 -1
View File
@@ -231,7 +231,7 @@ love::graphics::ShaderStage *Graphics::newShaderStageInternal(ShaderStage::Stage
love::graphics::Shader *Graphics::newShaderInternal(love::graphics::ShaderStage *vertex, love::graphics::ShaderStage *pixel)
{
return new Shader(vertex, pixel);
return new Shader(device, vertex, pixel);
}
love::graphics::Buffer *Graphics::newBuffer(size_t size, const void *data, BufferType type, vertex::Usage usage, uint32 mapflags)