mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
OpenVR: Fixed Linux build.
This commit is contained in:
11
3rdparty/openvr/openvr_capi.h
vendored
11
3rdparty/openvr/openvr_capi.h
vendored
@@ -17,7 +17,11 @@
|
||||
#define EXTERN_C
|
||||
#endif
|
||||
|
||||
#define OPENVR_FNTABLE_CALLTYPE __stdcall
|
||||
#if defined( _WIN32 )
|
||||
# define OPENVR_FNTABLE_CALLTYPE __stdcall
|
||||
#else
|
||||
# define OPENVR_FNTABLE_CALLTYPE
|
||||
#endif //
|
||||
|
||||
// OPENVR API export macro
|
||||
#if defined( _WIN32 ) && !defined( _X360 )
|
||||
@@ -44,11 +48,6 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#if defined( __WIN32 )
|
||||
typedef char bool;
|
||||
#endif
|
||||
|
||||
|
||||
// OpenVR Constants
|
||||
|
||||
static const unsigned int k_unTrackingStringSize = 32;
|
||||
|
||||
Reference in New Issue
Block a user