added download option for texture

This commit is contained in:
itsmattkc
2021-12-30 11:47:58 -08:00
parent eab3148d99
commit d7439ba520
2 changed files with 9 additions and 0 deletions
+2
View File
@@ -80,6 +80,8 @@ public:
void Upload(void* data, int linesize);
void Download(void* data, int linesize);
bool IsDummy() const
{
return !renderer_;