VirtualBox

Ignore:
Timestamp:
Mar 3, 2020 4:06:34 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
136324
Message:

Devices/Graphics/shaderlib: use correct constant when checking the index (fixed regression from r135630). bugref:9613

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/shaderlib/shader.c

    r82718 r83193  
    382382            else
    383383            {
    384                 AssertReturn(reg->idx < MAX_REG_INPUT, E_INVALIDARG);
     384                AssertReturn(reg->idx < MAX_ATTRIBS, E_INVALIDARG);
    385385                reg_maps->input_registers |= 1 << reg->idx;
    386386            }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette