Add menu option for filter method to use when scaling video.

This commit is contained in:
ts-korhonen
2021-05-01 20:49:23 +03:00
parent 6b2e544306
commit dd65a80b19
10 changed files with 81 additions and 12 deletions

View File

@@ -90,6 +90,7 @@ extern int vid_cga_contrast, /* (C) video */
video_fullscreen_scale, /* (C) video */
enable_overscan, /* (C) video */
force_43, /* (C) video */
video_filter_method, /* (C) video */
video_vsync, /* (C) video */
video_framerate, /* (C) video */
gfxcard; /* (C) graphics/video card */

View File

@@ -333,9 +333,11 @@
#define IDM_VID_GRAY_AMBER 40082
#define IDM_VID_GRAY_GREEN 40083
#define IDM_VID_GRAY_WHITE 40084
#define IDM_VID_FILTER_NEAREST 40085
#define IDM_VID_FILTER_LINEAR 40086
#define IDM_MEDIA 40085
#define IDM_DOCS 40086
#define IDM_MEDIA 40087
#define IDM_DOCS 40088
#ifdef USE_DISCORD
#define IDM_DISCORD 40090

View File

@@ -11,10 +11,10 @@
*
*
* Authors: Fred N. van Kempen, <decwiz@yahoo.com>
* Michael Dr<EFBFBD>ing, <michael@drueing.de>
* Michael Drüing, <michael@drueing.de>
*
* Copyright 2018,2019 Fred N. van Kempen.
* Copyright 2018,2019 Michael Dr<EFBFBD>ing.
* Copyright 2018,2019 Michael Drüing.
*
* Redistribution and use in source and binary forms, with
* or without modification, are permitted provided that the
@@ -58,6 +58,6 @@ extern int sdl_pause(void);
extern void sdl_resize(int x, int y);
extern void sdl_enable(int enable);
extern void sdl_set_fs(int fs);
extern void sdl_reload(void);
#endif /*WIN_SDL_H*/