VirtualBox

Changeset 37773 in vbox for trunk/src/VBox/GuestHost/OpenGL


Ignore:
Timestamp:
Jul 4, 2011 6:07:09 PM (13 years ago)
Author:
vboxsync
Message:

crOpenGL: more missing uniform types

File:
1 edited

Legend:

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

    r37772 r37773  
    690690        || GL_SAMPLER_CUBE==type
    691691        || GL_SAMPLER_1D_SHADOW==type
    692         || GL_SAMPLER_2D_SHADOW==type)
     692        || GL_SAMPLER_2D_SHADOW==type
     693        || GL_SAMPLER_2D_RECT_ARB==type
     694        || GL_SAMPLER_2D_RECT_SHADOW_ARB==type)
    693695    {
    694696        return GL_TRUE;
     
    11051107            case GL_SAMPLER_1D_SHADOW:
    11061108            case GL_SAMPLER_2D_SHADOW:
     1109            case GL_SAMPLER_2D_RECT_ARB:
     1110            case GL_SAMPLER_2D_RECT_SHADOW_ARB:
    11071111                diff_api.Uniform1iv(location, 1, pIdata);
    11081112                break;
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