GPU/D3D11: Fix uniform buffer creation on Win7

This commit is contained in:
Connor McLaughlin
2020-03-07 16:05:54 +10:00
parent eb6dbbfb13
commit 6fa8031569
2 changed files with 10 additions and 2 deletions

View File

@ -38,6 +38,12 @@ protected:
void UpdateVRAMReadTexture() override;
private:
enum : u32
{
// Currently we don't stream uniforms, instead just re-map the buffer every time and let the driver take care of it.
MAX_UNIFORM_BUFFER_SIZE = 64
};
void SetCapabilities();
bool CreateFramebuffer();
void ClearFramebuffer();