mirror of https://github.com/bjornbytes/lovr.git
Multithreaded builds on Windows; Formatting;
This commit is contained in:
parent
f82bcb703b
commit
e96c541244
|
@ -534,7 +534,7 @@ endif()
|
|||
|
||||
# Platforms
|
||||
if(WIN32)
|
||||
set_target_properties(lovr PROPERTIES COMPILE_FLAGS "/wd4244")
|
||||
set_target_properties(lovr PROPERTIES COMPILE_FLAGS "/wd4244 /MP")
|
||||
set_target_properties(lovr PROPERTIES LINK_FLAGS_DEBUG "/SUBSYSTEM:CONSOLE")
|
||||
set_target_properties(lovr PROPERTIES LINK_FLAGS_RELEASE "/SUBSYSTEM:windows /ENTRY:mainCRTStartup")
|
||||
target_compile_definitions(lovr PUBLIC -D_CRT_SECURE_NO_WARNINGS)
|
||||
|
|
|
@ -277,7 +277,7 @@ static const float* openvr_getBoundsGeometry(uint32_t* count) {
|
|||
|
||||
static bool openvr_getPose(Device device, vec3 position, quat orientation) {
|
||||
InputPoseActionData_t actionData;
|
||||
TrackedDevicePose_t* pose;
|
||||
TrackedDevicePose_t* pose;
|
||||
|
||||
if (device == DEVICE_HEAD) {
|
||||
pose = &state.headPose;
|
||||
|
@ -298,7 +298,7 @@ static bool openvr_getPose(Device device, vec3 position, quat orientation) {
|
|||
|
||||
static bool openvr_getVelocity(Device device, vec3 velocity, vec3 angularVelocity) {
|
||||
InputPoseActionData_t actionData;
|
||||
TrackedDevicePose_t* pose;
|
||||
TrackedDevicePose_t* pose;
|
||||
|
||||
if (device == DEVICE_HEAD) {
|
||||
pose = &state.headPose;
|
||||
|
|
Loading…
Reference in New Issue