mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
c/main: Silence warnings and make sure that layer configs are picked up
This commit is contained in:
parent
669303cd6d
commit
c30c4c011d
|
@ -1 +1,5 @@
|
|||
---
|
||||
- mr.620
|
||||
- mr.624
|
||||
---
|
||||
Implement support for XR_KHR_composition_layer_equirect (equirect1).
|
||||
|
|
|
@ -539,6 +539,12 @@ compositor_layer_commit(struct xrt_compositor *xc, int64_t frame_id)
|
|||
image = &layer->scs[0]->images[eq->sub.image_index];
|
||||
comp_renderer_set_equirect2_layer(c->r, i, image, data);
|
||||
} break;
|
||||
#endif
|
||||
#ifndef XRT_FEATURE_OPENXR_LAYER_EQUIRECT1
|
||||
case XRT_LAYER_EQUIRECT1:
|
||||
#endif
|
||||
#ifndef XRT_FEATURE_OPENXR_LAYER_EQUIRECT2
|
||||
case XRT_LAYER_EQUIRECT2:
|
||||
#endif
|
||||
case XRT_LAYER_CUBE:
|
||||
// Should never end up here.
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "xrt/xrt_gfx_vk.h"
|
||||
#include "xrt/xrt_config_build.h"
|
||||
|
||||
#include "util/u_threading.h"
|
||||
#include "util/u_index_fifo.h"
|
||||
|
|
Loading…
Reference in a new issue