Implement extensions GL_OVR_multiview and GL_OVR_multiview2

They are almost identical to the already supported GL_EXT_multiview
This commit is contained in:
David Srbecký
2017-06-30 18:33:51 +01:00
parent 2ae23ca1ca
commit 0fbe02c6a0
9 changed files with 135 additions and 6 deletions

View File

@@ -184,4 +184,16 @@ void fooDeeparray()
yp = y;
xp = y; // ERROR, wrong size
yp = x; // ERROR, wrong size
}
void mwErr()
{
gl_ViewID_OVR; // ERROR, no extension
}
#extension GL_OVR_multiview : enable
void mwOk()
{
gl_ViewID_OVR;
}