diff options
Diffstat (limited to 'src/osd/modules/render/d3d/d3dcomm.h')
-rw-r--r-- | src/osd/modules/render/d3d/d3dcomm.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/osd/modules/render/d3d/d3dcomm.h b/src/osd/modules/render/d3d/d3dcomm.h index 51758bb70b6..3d84ea567a3 100644 --- a/src/osd/modules/render/d3d/d3dcomm.h +++ b/src/osd/modules/render/d3d/d3dcomm.h @@ -10,6 +10,12 @@ #define __WIN_D3DCOMM__ //============================================================ +// CONSTANTS +//============================================================ + +#define MAX_BLOOM_COUNT 15 // shader model 3.0 support up to 16 samplers, but we need the last for the original texture + +//============================================================ // FORWARD DECLARATIONS //============================================================ @@ -292,10 +298,10 @@ public: d3d_render_target *next; d3d_render_target *prev; - surface *bloom_surface[11]; - texture *bloom_texture[11]; + surface *bloom_surface[MAX_BLOOM_COUNT]; + texture *bloom_texture[MAX_BLOOM_COUNT]; - float bloom_dims[11][2]; + float bloom_dims[MAX_BLOOM_COUNT][2]; int bloom_count; }; |