mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
ftt: allow windowed mode resize options, add title (#646)
## Description of change This code adds a window title to FutureTomTom when running in windowed mode and allows the windowed graphics hooks to take effect. ## Testing I ran the game and made sure fullscreen mode still worked as well as all window move/resize functionality.
This commit is contained in:
@@ -1835,9 +1835,7 @@ int main_implementation(int argc, char *argv[]) {
|
||||
attach_ftt = true;
|
||||
|
||||
// the game is windowed by default unless we set the env
|
||||
if (GRAPHICS_WINDOWED) {
|
||||
GRAPHICS_WINDOWED = false;
|
||||
} else {
|
||||
if (!GRAPHICS_WINDOWED) {
|
||||
SetEnvironmentVariable("DAMAC_VIEWER_FULLSCREEN", "0");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user