summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/windows/winmain.h
diff options
context:
space:
mode:
author ImJezze <jezze@gmx.net>2016-03-25 16:40:32 +0100
committer ImJezze <jezze@gmx.net>2016-03-25 16:40:32 +0100
commitc731b59cbe74f9e2eebf64dea62d72cc387b586d (patch)
treeb03b5b0369439bdf056f7a82a4cf59fc9bb60332 /src/osd/windows/winmain.h
parent6c95a274901c935bb57cdde5b0edd4cf772091ed (diff)
Added oversampling option
- and some cleanup
Diffstat (limited to 'src/osd/windows/winmain.h')
-rw-r--r--src/osd/windows/winmain.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/osd/windows/winmain.h b/src/osd/windows/winmain.h
index 786954d4119..dd348ee4491 100644
--- a/src/osd/windows/winmain.h
+++ b/src/osd/windows/winmain.h
@@ -26,8 +26,9 @@
#define WINOPTION_MENU "menu"
// core post-processing options
-#define WINOPTION_HLSL_ENABLE "hlsl_enable"
#define WINOPTION_HLSLPATH "hlslpath"
+#define WINOPTION_HLSL_ENABLE "hlsl_enable"
+#define WINOPTION_HLSL_OVERSAMPLING "hlsl_oversampling"
#define WINOPTION_HLSL_WRITE "hlsl_write"
#define WINOPTION_HLSL_SNAP_WIDTH "hlsl_snap_width"
#define WINOPTION_HLSL_SNAP_HEIGHT "hlsl_snap_height"
@@ -128,6 +129,7 @@ public:
// core post-processing options
const char *screen_post_fx_dir() const { return value(WINOPTION_HLSLPATH); }
bool d3d_hlsl_enable() const { return bool_value(WINOPTION_HLSL_ENABLE); }
+ bool d3d_hlsl_oversampling() const { return bool_value(WINOPTION_HLSL_OVERSAMPLING); }
const char *d3d_hlsl_write() const { return value(WINOPTION_HLSL_WRITE); }
int d3d_snap_width() const { return int_value(WINOPTION_HLSL_SNAP_WIDTH); }
int d3d_snap_height() const { return int_value(WINOPTION_HLSL_SNAP_HEIGHT); }