metal: work towards shader uniform implementation.

Misc cleanup.
This commit is contained in:
Alex Szpakowski
2020-10-24 00:33:02 -03:00
parent 5b4de2308d
commit 4b9c648c8b
10 changed files with 262 additions and 151 deletions
+1
View File
@@ -95,6 +95,7 @@ Buffer::Buffer(love::graphics::Graphics *gfx, id<MTLDevice> device, const Settin
Buffer::~Buffer()
{ @autoreleasepool {
buffer = nil;
texture = nil;
}}
void *Buffer::map()