summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/windows/drawd3d.c
diff options
context:
space:
mode:
author Ryan Holtz <rholtz@batcountryentertainment.com>2011-06-11 23:46:24 +0000
committer Ryan Holtz <rholtz@batcountryentertainment.com>2011-06-11 23:46:24 +0000
commit80d66bb1d6dee4f6e0d91ddf415d123b0aace1e2 (patch)
tree257920a2a6ab9e564982ab2e06b83d7f77ec976e /src/osd/windows/drawd3d.c
parent5d2798215c21b68ac84dee11a6f6c7de53cc0ddc (diff)
HLSL Cleanup, no whatsnew:
- Fixed set_vector functionality and simplified shaders as a result - Fixed HLSL presets, 0 to 3, in increasing level of terribleness - Reduced options footprint from RGB triplets Next plan: Separate INI writing.
Diffstat (limited to 'src/osd/windows/drawd3d.c')
-rw-r--r--src/osd/windows/drawd3d.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/windows/drawd3d.c b/src/osd/windows/drawd3d.c
index 6f4a06d508f..d75c8f275ca 100644
--- a/src/osd/windows/drawd3d.c
+++ b/src/osd/windows/drawd3d.c
@@ -604,7 +604,7 @@ mtlog_add("drawd3d_window_draw: begin_scene");
// loop over primitives
if(d3d->hlsl->enabled())
{
- d3d->hlsl_buf = (void*)primitive_alloc(d3d, 4);
+ d3d->hlsl_buf = (void*)primitive_alloc(d3d, 6);
d3d->hlsl->init_fsfx_quad(d3d->hlsl_buf);
}
@@ -1655,7 +1655,7 @@ static void primitive_flush_pending(d3d_info *d3d)
// first remember the original render target in case we need to set a new one
if(d3d->hlsl->enabled() && d3dintf->post_fx_available)
{
- vertnum = 4;
+ vertnum = 6;
}
else
{