aboutsummaryrefslogtreecommitdiffstats
path: root/LibOVR/Src/CAPI/CAPI_HSWDisplay.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-03-28 02:08:11 +0100
committerSven Gothel <[email protected]>2015-03-28 02:08:11 +0100
commit450aa6f7df9e67dd256b86f94e65eaf707032aad (patch)
tree04aa207d84ddc8ca246d2573aaaf756b3ce8a0b5 /LibOVR/Src/CAPI/CAPI_HSWDisplay.h
parent3c7b8a17e907f4ef2afd9f77db566a3f6179cbe4 (diff)
parent4207f9c279e832e3afcb3f5fc6cd8d84cb4cfe4c (diff)
Merge branch 'vanilla_0.5.0.1' into jogamp_0.5.0.1
Conflicts: LibOVR/Include/OVR_CAPI_0_5_0.h LibOVR/Src/CAPI/CAPI_HMDState.cpp LibOVR/Src/Displays/OVR_Win32_Dxgi_Display.h LibOVR/Src/Kernel/OVR_System.cpp LibOVR/Src/OVR_CAPI.cpp LibOVR/Src/OVR_Profile.cpp LibOVRKernel/Src/Kernel/OVR_ThreadsWinAPI.cpp LibOVRKernel/Src/Kernel/OVR_Types.h
Diffstat (limited to 'LibOVR/Src/CAPI/CAPI_HSWDisplay.h')
-rw-r--r--LibOVR/Src/CAPI/CAPI_HSWDisplay.h21
1 files changed, 2 insertions, 19 deletions
diff --git a/LibOVR/Src/CAPI/CAPI_HSWDisplay.h b/LibOVR/Src/CAPI/CAPI_HSWDisplay.h
index ee984d8..d98f351 100644
--- a/LibOVR/Src/CAPI/CAPI_HSWDisplay.h
+++ b/LibOVR/Src/CAPI/CAPI_HSWDisplay.h
@@ -27,7 +27,7 @@ limitations under the License.
#ifndef OVR_CAPI_HSWDisplay_h
#define OVR_CAPI_HSWDisplay_h
-#include "../OVR_CAPI.h"
+#include "OVR_CAPI.h"
#include "CAPI_HMDRenderState.h"
#include <time.h>
@@ -78,23 +78,6 @@ limitations under the License.
-//-------------------------------------------------------------------------------------
-// ***** Experimental C API functions
-//
-// These are currently not formally supported and may be promoted to the formal C API
-// or may be removed in the future.
-
-extern "C"
-{
- // Normally if an application uses SDK-based distortion rendering
- // (ovrHmd_BeginFrame / ovrHmd_EndFrame) then the SDK also takes care of
- // drawing the health and safety warning. If an application is using
- // SDK-based rendering but wants to draw the warning display itself,
- // it call this function with enabled set to false.
- OVR_EXPORT void ovrhmd_EnableHSWDisplaySDKRender(ovrHmd hmd, ovrBool enabled);
-}
-
-
namespace OVR { namespace CAPI {
@@ -214,7 +197,7 @@ protected:
void SetCurrentProfileLastHSWTime(time_t t);
// Generates an appropriate stereo ortho projection matrix.
- static void GetOrthoProjection(const HMDRenderState& RenderState, Matrix4f OrthoProjection[2]);
+ void GetOrthoProjection(const HMDRenderState& RenderState, Matrix4f OrthoProjection[2]);
// Returns the default HSW display texture data.
static const uint8_t* GetDefaultTexture(size_t& TextureSize);