A graphics device is now selected to ensure that it supports rendering to the window render surfaces

This commit is contained in:
2020-07-23 18:29:03 -07:00
parent 1ca6af364e
commit 9762e021ce
3 changed files with 110 additions and 2 deletions

View File

@@ -48,6 +48,7 @@ typedef enum {
KR_ERROR_DUPLICATE_HANDLE,
KR_ERROR_VULKAN,
KR_ERROR_VULKAN_REQUIRED,
KR_ERROR_NO_DEVICE,
KR_ERROR_UNEXPECTED = 0x10000000,
KR_RESULT_MAX_ENUM = 0x7FFFFFFF
} KrResult;