Skip to content

Commit

Permalink
Fixed|Oculus Rift|libappfw: Build error when not using LibOVR
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Aug 23, 2014
1 parent 64a8b85 commit 6c121b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/libappfw/src/vr/oculusrift.cpp
Expand Up @@ -193,10 +193,10 @@ DENG2_PIMPL(OculusRift)
if(inited) return;
inited = true;

#ifdef DENG_HAVE_OCULUS_API
// If there is no Oculus Rift connected, do nothing.
if(!hmd) return;

#ifdef DENG_HAVE_OCULUS_API
DENG2_GUARD(this);

// Configure for orientation and position tracking.
Expand Down

0 comments on commit 6c121b3

Please sign in to comment.