Skip to content

Commit

Permalink
Fix splash on Oculus
Browse files Browse the repository at this point in the history
  • Loading branch information
MortimerGoro committed Nov 26, 2018
1 parent 30f6d4e commit e133c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/oculusvr/cpp/DeviceDelegateOculusVR.cpp
Expand Up @@ -287,7 +287,7 @@ class OculusLayerQuad: public OculusLayer<VRLayerQuadPtr, ovrLayerProjection2> {
}

private:
void InitSwapChain(ovrTextureSwapChain*& swapChainOut, jobject & surfaceOut, vrb::FBOPtr fboOut) {
void InitSwapChain(ovrTextureSwapChain*& swapChainOut, jobject & surfaceOut, vrb::FBOPtr& fboOut) {
if (layer->GetSurfaceType() == VRLayerQuad::SurfaceType::AndroidSurface) {
swapChainOut = vrapi_CreateAndroidSurfaceSwapChain(layer->GetWidth(), layer->GetHeight());
surfaceOut = vrapi_GetTextureSwapChainAndroidSurface(swapChainOut);
Expand Down

0 comments on commit e133c83

Please sign in to comment.