cached_surface: Remove custom texture logic

* Makes things more complicated and is in the way. It's probably already
broken by recent changes, so I'll need to reimplement it anyway
This commit is contained in:
emufan4568
2022-09-09 21:29:23 +03:00
committed by GPUCode
parent 8d35118f63
commit efb9e9f40f
8 changed files with 63 additions and 201 deletions

View File

@ -96,7 +96,9 @@ public:
u8* GetPtr() {
return cptr;
}
std::byte* GetBytes() {
return reinterpret_cast<std::byte*>(cptr);
}
operator const u8*() const {
return cptr;
}
@ -104,7 +106,9 @@ public:
const u8* GetPtr() const {
return cptr;
}
const std::byte* GetBytes() const {
return reinterpret_cast<const std::byte*>(cptr);
}
std::size_t GetSize() const {
return csize;
}