1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-13 16:44:50 +02:00

minor fix

This commit is contained in:
XProger
2019-01-31 12:02:47 +03:00
parent 417a2cd3be
commit c1cffa3755

View File

@@ -669,6 +669,7 @@ void vrInit() {
}
void vrInitTargets() {
if (!hmd) return;
uint32_t width, height;
hmd->GetRecommendedRenderTargetSize(&width, &height);
Core::eyeTex[0] = new Texture(width, height, TexFormat::FMT_RGBA);