File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 28
28
29
29
# parse command line arguments
30
30
parser = argparse .ArgumentParser ()
31
- parser .add_argument ("--windowed" , action = "store_true" ,
32
- help = "display in a window" )
33
- parser .add_argument ("--disable-interpolation" , action = "store_true" ,
34
- help = "disable interpolation in-between camera pixels" )
31
+ parser .add_argument ("--windowed" , action = "store_true" , help = "display in a window" )
32
+ parser .add_argument (
33
+ "--disable-interpolation" ,
34
+ action = "store_true" ,
35
+ help = "disable interpolation in-between camera pixels" ,
36
+ )
35
37
36
38
args = parser .parse_args ()
37
39
43
45
if not args .windowed :
44
46
screen = pygame .display .set_mode ((0 , 0 ), pygame .FULLSCREEN )
45
47
else :
46
- screen = pygame .display .set_mode ([32 * WINDOW_SCALING_FACTOR ,
47
- 24 * WINDOW_SCALING_FACTOR ])
48
+ screen = pygame .display .set_mode (
49
+ [32 * WINDOW_SCALING_FACTOR , 24 * WINDOW_SCALING_FACTOR ]
50
+ )
48
51
print (pygame .display .Info ())
49
52
50
53
# the list of colors we can choose from
You can’t perform that action at this time.
0 commit comments