Skip to content

Commit 43b36fa

Browse files
authored
fix fred view not rendering (#6772)
1 parent 3dd2c38 commit 43b36fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

code/graphics/2d.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1844,7 +1844,7 @@ bool gr_init(std::unique_ptr<os::GraphicsOperations>&& graphicsOps, int d_mode,
18441844
}
18451845
}
18461846

1847-
if (!Cmdline_window_res.has_value()) {
1847+
if (!Fred_running && !Cmdline_window_res.has_value()) {
18481848
// For whatever reason, it seems that a combination of Win 11 and presumably NVidia GPU's causes weird artifacts.
18491849
// These artifacts do not appear in windowed mode, or with an attached renderdoc / nvidia nsight.
18501850
// Similarly using the -window_res command line parameter prevents this.

0 commit comments

Comments
 (0)