Pixel ratio can be set in Resolution screen
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@705 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
5
main.c
5
main.c
@@ -549,12 +549,13 @@ int Init_program(int argc,char * argv[])
|
||||
Analyze_command_line(argc,argv);
|
||||
starting_videomode=Current_resolution;
|
||||
Horizontal_line_buffer=NULL;
|
||||
Current_resolution=-1; // On n'était pas dans un mode graphique
|
||||
Screen_width=Screen_height=Current_resolution=0;
|
||||
|
||||
Init_mode_video(
|
||||
Video_mode[starting_videomode].Width,
|
||||
Video_mode[starting_videomode].Height,
|
||||
Video_mode[starting_videomode].Fullscreen);
|
||||
Video_mode[starting_videomode].Fullscreen,
|
||||
Pixel_ratio);
|
||||
|
||||
Main_image_width=Screen_width/Pixel_width;
|
||||
Main_image_height=Screen_height/Pixel_height;
|
||||
|
||||
Reference in New Issue
Block a user