mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-16 19:18:05 +00:00
fixed unused variable under some settings
This commit is contained in:
@@ -562,8 +562,9 @@ void display_data::set_projection(int ed, ld shift) {
|
|||||||
|
|
||||||
bool u_alpha = false;
|
bool u_alpha = false;
|
||||||
|
|
||||||
auto use_mv = [cd] {
|
auto use_mv = [] {
|
||||||
#if CAP_VR
|
#if CAP_VR
|
||||||
|
auto cd = current_display;
|
||||||
if(vrhr::rendering_eye()) {
|
if(vrhr::rendering_eye()) {
|
||||||
glhr::projection_multiply(glhr::tmtogl_transpose(vrhr::hmd_mvp));
|
glhr::projection_multiply(glhr::tmtogl_transpose(vrhr::hmd_mvp));
|
||||||
glhr::id_modelview();
|
glhr::id_modelview();
|
||||||
|
|||||||
Reference in New Issue
Block a user