Merge pull request #1047 from tomhog/th-MultiView
Setting numViews value in glFramebufferTextureMultiviewOVR call
This commit is contained in:
commit
d1649aeed6
@ -540,7 +540,7 @@ void FrameBufferAttachment::attach(State &state, GLenum target, GLenum attachmen
|
||||
{
|
||||
if (ext->glFramebufferTextureMultiviewOVR)
|
||||
{
|
||||
ext->glFramebufferTextureMultiviewOVR(target, attachment_point, tobj->id(), _ximpl->level, 0, 2);
|
||||
ext->glFramebufferTextureMultiviewOVR(target, attachment_point, tobj->id(), _ximpl->level, 0, _ximpl->textureTarget->getTextureDepth());
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user