aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Philip Langdale <philipl@overt.org>2018-10-28 09:25:30 -0700
committerGravatar sfan5 <sfan5@live.de>2018-10-31 09:20:06 +0100
commit84d6638907b488a1724ec33978773ef8a586dfc0 (patch)
tree77300732de8f5142f4b5baf54ad16f8119fd12e5 /test
parent4056a9a420a3d404d44994606a942b3a7ec1766c (diff)
vo_gpu: hwdec_cuda: Clean up init() error handling
Currently, the error paths in init() are a bit confusing, and we can end up trying to pop the current context when there is no context, which leads to distracting error messages. I also added an explicit path to return early if the GPU backend is not OpenGL or Vulkan. It's pointless to do any other cuda init after that point. (Of course, someone could write more interops.) Fixes #6256
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions