mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-09 23:14:46 +01:00
gl: Use image dimensions to determine read buffer size
This commit is contained in:
parent
728d84b1fe
commit
cae8ae63e3
|
|
@ -60,7 +60,6 @@ namespace rsx
|
|||
|
||||
void load_data(const std::vector<u8>& bytes, bool grayscaled = false);
|
||||
const u8* get_data() const override { return channels == 4 ? data : data_grey.empty() ? nullptr : data_grey.data(); }
|
||||
usz size_bytes() const override { return data_grey.size(); }
|
||||
};
|
||||
|
||||
struct resource_config
|
||||
|
|
|
|||
Loading…
Reference in a new issue