Skip to content

Commit

Permalink
vo_gpu/hwdec_cuda: fixup compilation with vulkan disabled
Browse files Browse the repository at this point in the history
The actual code utilizing this enum was seemingly properly if'd,
but not the enum in the struct itself.

Fixes compilation.
  • Loading branch information
jeeb committed Apr 22, 2019
1 parent 9b8d3ef commit edbc199
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions video/out/opengl/hwdec_cuda.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ struct priv_owner {
const struct ra_format *format, int n);
void (*ext_uninit)(struct ra_hwdec_mapper *mapper, int n);

#if HAVE_VULKAN
enum pl_handle_type handle_type;
#endif
};

struct ext_gl {
Expand Down

0 comments on commit edbc199

Please sign in to comment.