mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-25 05:21:03 +00:00
Fix non-rendering TA and cinematics
This commit is contained in:
parent
326ddd1764
commit
443a3657f2
3 changed files with 4 additions and 13 deletions
Binary file not shown.
|
@ -430,6 +430,8 @@ void RE_BeginFrame( stereoFrame_t stereoFrame ) {
|
|||
}
|
||||
|
||||
tr.refdef.stereoFrame = stereoFrame;
|
||||
|
||||
GLSL_PrepareUniformBuffers();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -207,19 +207,8 @@ static void GLSL_ViewMatricesUniformBuffer(const float value[32]) {
|
|||
{
|
||||
case HUD_ORTHO_PROJECTION:
|
||||
{
|
||||
if (vr.virtual_screen)
|
||||
{
|
||||
vec3_t translate;
|
||||
VectorSet(translate, -10, 0, 0);
|
||||
Mat4Translation( translate, viewMatrices );
|
||||
VectorSet(translate, 10, 0, 0);
|
||||
Mat4Translation( translate, viewMatrices + 16 );
|
||||
}
|
||||
else
|
||||
{
|
||||
Mat4Identity( viewMatrices );
|
||||
Mat4Identity( viewMatrices + 16 );
|
||||
}
|
||||
Mat4Identity( viewMatrices );
|
||||
Mat4Identity( viewMatrices + 16 );
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue