Skip to content

Commit

Permalink
Windows|libappfw|Fixed: Build error in OculusRift
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Aug 25, 2014
1 parent 3781665 commit e013bdc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doomsday/libappfw/src/vr/oculusrift.cpp
Expand Up @@ -267,7 +267,11 @@ DENG2_PIMPL(OculusRift)
<< render[i].ViewAdjust.z;
}*/

#ifdef WIN32
ovrHmd_AttachToWindow(hmd, (HWND) window->nativeHandle(), NULL, NULL);
#else
ovrHmd_AttachToWindow(hmd, window->nativeHandle(), NULL, NULL);
#endif

/*
float clearColor[4] = { 0.0f, 0.5f, 1.0f, 0.0f };
Expand Down

0 comments on commit e013bdc

Please sign in to comment.