mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-13 16:44:50 +02:00
minor fix
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user