1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 06:27:17 +00:00

fixed unused variable under some settings

This commit is contained in:
Zeno Rogue 2021-01-02 16:58:15 +01:00
parent 992c44c7e6
commit f73bb98a27

View File

@ -562,8 +562,9 @@ void display_data::set_projection(int ed, ld shift) {
bool u_alpha = false;
auto use_mv = [cd] {
auto use_mv = [] {
#if CAP_VR
auto cd = current_display;
if(vrhr::rendering_eye()) {
glhr::projection_multiply(glhr::tmtogl_transpose(vrhr::hmd_mvp));
glhr::id_modelview();