mirror of https://github.com/bjornbytes/lovr.git
Only apply alignment fix when including openvr api
This commit is contained in:
parent
2bfba10f81
commit
69cf13f4ae
|
@ -5,10 +5,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#ifndef WIN32
|
||||
#pragma pack(push, 4)
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
EYE_LEFT,
|
||||
EYE_RIGHT
|
||||
|
|
|
@ -9,7 +9,13 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#ifndef WIN32
|
||||
#pragma pack(push, 4)
|
||||
#endif
|
||||
#include <openvr_capi.h>
|
||||
#ifndef WIN32
|
||||
#pragma pack(pop)
|
||||
#endif
|
||||
|
||||
// From openvr_capi.h
|
||||
extern intptr_t VR_InitInternal(EVRInitError *peError, EVRApplicationType eType);
|
||||
|
|
Loading…
Reference in New Issue