Common/GL: Add replace method to texture

This commit is contained in:
Connor McLaughlin
2020-12-25 18:01:39 +10:00
parent ecbfff3c60
commit ebaad0f35a
2 changed files with 14 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ public:
bool Create(u32 width, u32 height, u32 samples, GLenum internal_format, GLenum format, GLenum type,
const void* data = nullptr, bool linear_filter = false, bool wrap = false);
void Replace(u32 width, u32 height, GLenum internal_format, GLenum format, GLenum type, const void* data);
bool CreateFramebuffer();
void Destroy();