mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-28 23:02:37 +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();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -206,21 +206,10 @@ static void GLSL_ViewMatricesUniformBuffer(const float value[32]) {
|
|||
switch (i)
|
||||
{
|
||||
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 );
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue