VirtualBox

Ignore:
Timestamp:
Mar 14, 2013 3:08:51 PM (12 years ago)
Author:
vboxsync
Message:

crOpenGL: synch server and render window visible state

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu.c

    r45039 r45041  
    14471447        }
    14481448        break;
     1449    case GL_WINDOW_VISIBILITY_CR:
     1450        {
     1451            GLint *vis = (GLint *) values;
     1452            WindowInfo *window;
     1453            CRASSERT(type == GL_INT);
     1454            CRASSERT(count == 1);
     1455            CRASSERT(values);
     1456            vis[0] = 0;  /* default */
     1457            window = (WindowInfo *) crHashtableSearch(render_spu.windowTable, index);
     1458            if (window)
     1459            {
     1460                vis[0] = window->visible;
     1461            }
     1462        }
     1463        break;
    14491464    default:
    14501465        ; /* nothing - silence compiler */
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