metal: fix crash when stream buffers are resized

This commit is contained in:
Alex Szpakowski
2021-04-02 17:53:55 -03:00
parent 4cac353908
commit 9acf7df8e8
4 changed files with 18 additions and 7 deletions
+2 -1
View File
@@ -22,6 +22,7 @@
// LOVE
#include "common/int.h"
#include "common/Object.h"
#include "vertex.h"
#include "Resource.h"
@@ -33,7 +34,7 @@ namespace love
namespace graphics
{
class StreamBuffer : public Resource
class StreamBuffer : public love::Object, public Resource
{
public: