mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-22 03:51:40 +00:00
2D aspect ratio fixed
This commit is contained in:
parent
9d07c27604
commit
0eb1d43b4a
1 changed files with 1 additions and 1 deletions
|
@ -479,7 +479,7 @@ void VR_DrawFrame( engine_t* engine ) {
|
|||
cylinder_layer.pose.position = pos;
|
||||
cylinder_layer.radius = 12.0f;
|
||||
cylinder_layer.centralAngle = MATH_PI * 0.5f;
|
||||
cylinder_layer.aspectRatio = (float)height / width / 0.75f;
|
||||
cylinder_layer.aspectRatio = width / (float)height / 0.75f;
|
||||
|
||||
engine->appState.Layers[engine->appState.LayerCount++].Cylinder = cylinder_layer;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue