VirtualBox

Changeset 76811 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 14, 2019 11:58:29 AM (6 years ago)
Author:
vboxsync
Message:

3D: Additional validation of glCopyTexImage2D arguments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_teximage.c

    r73223 r76811  
    696696    CRASSERT(tl);
    697697
     698    if (tobj == NULL || tl == NULL)
     699    {
     700        crStateError(__LINE__, __FILE__, GL_INVALID_ENUM,
     701                     "crStateCopyTexImage2D: invalid target: 0x%x", target);
     702        return;
     703    }
     704
    698705    crStateNukeMipmaps(tobj);
    699706
Note: See TracChangeset for help on using the changeset viewer.

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