VirtualBox

Changeset 49308 in vbox for trunk


Ignore:
Timestamp:
Oct 28, 2013 1:32:26 PM (11 years ago)
Author:
vboxsync
Message:

crOpenGL 24bpp depth

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/glx.c

    r49214 r49308  
    829829        case GLX_DEPTH_SIZE:
    830830            visBits |= CR_DEPTH_BIT;
    831             *value = 16;
     831            *value = 24;
    832832            break;
    833833
     
    968968
    969969        case GLX_DEPTH_SIZE:
    970             *value = 16;
     970            *value = 24;
    971971            break;
    972972
     
    15001500
    15011501            case GLX_DEPTH_SIZE:
    1502                 if (attrib[1] > 16)
     1502                if (attrib[1] > 24)
    15031503                    goto err_exit;
    15041504                attrib++;
     
    18601860            break;
    18611861        case GLX_DEPTH_SIZE:
    1862             *value = 16;
     1862            *value = 24;
    18631863            //crDebug("attribute=GLX_DEPTH_SIZE");
    18641864            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