mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 09:50:08 +01:00
virgl: fix typo inverting a condition
Fixes: 8513bcbd2f ("virtio: Remove virglrenderer_hw.h entirely")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34340>
This commit is contained in:
parent
15660caa90
commit
2063084903
1 changed files with 2 additions and 2 deletions
|
|
@ -1178,8 +1178,8 @@ static int virgl_init_context(int drmFD)
|
|||
|
||||
ctx_set_param.param = VIRTGPU_CONTEXT_PARAM_CAPSET_ID;
|
||||
ctx_set_param.value = (supports_capset_virgl2) ?
|
||||
VIRTGPU_DRM_CAPSET_VIRGL :
|
||||
VIRTGPU_DRM_CAPSET_VIRGL2;
|
||||
VIRTGPU_DRM_CAPSET_VIRGL2 :
|
||||
VIRTGPU_DRM_CAPSET_VIRGL;
|
||||
|
||||
init.ctx_set_params = (unsigned long)(void *)&ctx_set_param;
|
||||
init.num_params = 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue