Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
vkd3d
Manage
Activity
Members
Labels
Plan
Wiki
Bugzilla
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wine
vkd3d
Commits
b4d6aa0d
Commit
b4d6aa0d
authored
7 years ago
by
Henri Verbeet
Browse files
Options
Downloads
Patches
Plain Diff
libs/vkd3d: Explicitly handle VK_ERROR_DEVICE_LOST in hresult_from_vk_result().
parent
3fd94c3c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libs/vkd3d/utils.c
+1
-1
1 addition, 1 deletion
libs/vkd3d/utils.c
with
1 addition
and
1 deletion
libs/vkd3d/utils.c
+
1
−
1
View file @
b4d6aa0d
...
...
@@ -336,9 +336,9 @@ HRESULT hresult_from_vk_result(VkResult vr)
case
VK_ERROR_OUT_OF_HOST_MEMORY
:
case
VK_ERROR_OUT_OF_DEVICE_MEMORY
:
return
E_OUTOFMEMORY
;
default:
FIXME
(
"Unhandled VkResult %d.
\n
"
,
vr
);
case
VK_ERROR_DEVICE_LOST
:
return
E_FAIL
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment