Fix warning without WITH_INPUT_HMD

This commit is contained in:
Julian Eisel
2016-10-11 22:21:53 +02:00
parent e4a82a1e39
commit 17a7c6a140

View File

@@ -3770,7 +3770,9 @@ static void view3d_stereo3d_setup(Scene *scene, View3D *v3d, ARegion *ar, const
viewname = names[is_left ? STEREO_LEFT_ID : STEREO_RIGHT_ID];
/* update the viewport matrices with the new camera */
#ifdef WITH_INPUT_HMD
#ifndef WITH_INPUT_HMD
UNUSED_VARS(is_hmd_view);
#else
if (is_hmd_view) {
Camera *data = v3d->camera->data;
short view_format = scene->r.views_format;