Skip to content

Instantly share code, notes, and snippets.

View PrimalRex's full-sized avatar
🍹

Harris Barra PrimalRex

🍹
View GitHub Profile
@PrimalRex
PrimalRex / NativeFullscreen.cpp
Created September 30, 2025 15:46
Run UE at Native Resolution on Startup. This snippet is using Game Instance, place it in whichever singleton subsystem as you wish.
// Copyright (c) Harris Barra. (MIT License)
#include "GameFramework/GameUserSettings.h"
void UGI::Init()
{
Super::Init();
UGameUserSettings* UserSettings = GEngine->GetGameUserSettings();
if (UserSettings)