Skip to content

Commit

Permalink
Update to OpenVR 1.0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
r57zone committed Jun 6, 2018
1 parent ccfa999 commit d2a7993
Show file tree
Hide file tree
Showing 12 changed files with 3,562 additions and 50 deletions.
395 changes: 393 additions & 2 deletions OpenVR/FreeTrack/headers/openvr.h

Large diffs are not rendered by default.

472 changes: 470 additions & 2 deletions OpenVR/FreeTrack/headers/openvr_api.cs

Large diffs are not rendered by default.

432 changes: 426 additions & 6 deletions OpenVR/FreeTrack/headers/openvr_api.json

Large diffs are not rendered by default.

238 changes: 236 additions & 2 deletions OpenVR/FreeTrack/headers/openvr_capi.h

Large diffs are not rendered by default.

260 changes: 252 additions & 8 deletions OpenVR/FreeTrack/headers/openvr_driver.h

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions OpenVR/FreeTrack/samples/driver_sample/driverlog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

static vr::IVRDriverLog * s_pLogFile = NULL;

#if !defined( WIN32)
#define vsnprintf_s vsnprintf
#endif

bool InitDriverLog( vr::IVRDriverLog *pDriverLog )
{
Expand All @@ -24,11 +27,7 @@ void CleanupDriverLog()
static void DriverLogVarArgs( const char *pMsgFormat, va_list args )
{
char buf[1024];
#if defined( WIN32 )
vsprintf_s( buf, pMsgFormat, args );
#else
vsnprintf( buf, sizeof(buf), pMsgFormat, args );
#endif
vsnprintf_s( buf, sizeof(buf), pMsgFormat, args );

if( s_pLogFile )
s_pLogFile->Log( buf );
Expand Down
Loading

0 comments on commit d2a7993

Please sign in to comment.