aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/sdl/sdl_impl.cpp
diff options
context:
space:
mode:
authorlat9nq <lat9nq@virginia.edu>2020-09-25 17:42:59 -0400
committerlat9nq <lat9nq@virginia.edu>2020-09-25 17:42:59 -0400
commitca26fd0f4297bc5cdf495c5304ed0bd9737f40b2 (patch)
tree9663ee60c06345e55d242fa71bdf204ecf8c4346 /src/input_common/sdl/sdl_impl.cpp
parent4d4afc150294483e6090626022be55b1dfdfd498 (diff)
vk_stream_buffer: Fix initializing Vulkan with NVIDIA on Linux
The previous fix only partially solved the issue, as only certain GPUs that needed 9 or less MiB subtracted would work (i.e. GTX 980 Ti, GT 730). This takes from DXVK's example to divide `heap_size` by 2 to determine `allocable_size`. Additionally tested on my Quadro K4200, which previously required setting it to 12 to boot.
Diffstat (limited to 'src/input_common/sdl/sdl_impl.cpp')
0 files changed, 0 insertions, 0 deletions