mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 13:20:43 +00:00
(D3D) Use GFX_MAX_VARIABLES
This commit is contained in:
parent
9f6c607a68
commit
3786f5e4f6
@ -1365,12 +1365,12 @@ static void renderchain_render_pass(
|
||||
if (chain->state_tracker)
|
||||
{
|
||||
/* Only query uniforms in first pass. */
|
||||
static struct state_tracker_uniform tracker_info[MAX_VARIABLES];
|
||||
static struct state_tracker_uniform tracker_info[GFX_MAX_VARIABLES];
|
||||
static unsigned cnt = 0;
|
||||
|
||||
if (pass_index == 1)
|
||||
cnt = state_tracker_get_uniform(chain->state_tracker, tracker_info,
|
||||
MAX_VARIABLES, chain->frame_count);
|
||||
GFX_MAX_VARIABLES, chain->frame_count);
|
||||
|
||||
for (i = 0; i < cnt; i++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user