diff options
author | Ryan Holtz <rholtz@batcountryentertainment.com> | 2013-01-13 15:07:11 +0000 |
---|---|---|
committer | Ryan Holtz <rholtz@batcountryentertainment.com> | 2013-01-13 15:07:11 +0000 |
commit | 4825263ebf648573e3945c7a4f77e8ccf0db81cc (patch) | |
tree | 49731bffe7be6f71464c3649d0b663ae8e8bba7c /src/osd/windows/d3dhlsl.h | |
parent | 2838333f3333820b95fba463ddd254d0ae273230 (diff) |
- d3dhlsl.c: Made HLSL switchable at runtime, Ctrl+Alt+F12. [MooglyGuy]
Diffstat (limited to 'src/osd/windows/d3dhlsl.h')
-rw-r--r-- | src/osd/windows/d3dhlsl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osd/windows/d3dhlsl.h b/src/osd/windows/d3dhlsl.h index 32786776ad7..52bad0062ad 100644 --- a/src/osd/windows/d3dhlsl.h +++ b/src/osd/windows/d3dhlsl.h @@ -116,6 +116,7 @@ public: void init_fsfx_quad(void *vertbuf); bool enabled() { return master_enable; } + void toggle(); bool vector_enabled() { return vector_enable && (bool)HLSL_VECTOR; } d3d_render_target* get_vector_target(d3d_info *d3d); @@ -206,6 +207,8 @@ private: int snap_height; // snapshot height bool lines_pending; // whether or not we have lines to flush on the next quad + bool initialized; // whether or not we're initialize + // HLSL effects d3d_surface * backbuffer; // pointer to our device's backbuffer d3d_effect * curr_effect; // pointer to the currently active effect object |