mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-14 14:37:51 +00:00
Guest_driver: Correct compiling errors in GCC.
This commit is contained in:
parent
61d2053adb
commit
87546c5c19
2 changed files with 5 additions and 1 deletions
|
@ -27,6 +27,8 @@ public:
|
|||
void DeduceTextureHandlerSize(std::vector<u32>&& bound_offsets);
|
||||
|
||||
private:
|
||||
// Minimum size of texture handler any driver can use.
|
||||
static constexpr u32 min_texture_handler_size = 4;
|
||||
// This goes with Vulkan and OpenGL standards but Nvidia GPUs can easily
|
||||
// use 4 bytes instead. Thus, certain drivers may squish the size.
|
||||
static constexpr u32 default_texture_handler_size = 8;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue