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:
parent
992c44c7e6
commit
f73bb98a27
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user