VirtualBox

Ignore:
Timestamp:
Sep 28, 2015 3:01:45 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
102901
Message:

SharedOpenGL: initial support for DrawBuffers (n == 1) in the state tracker.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_misc.c

    r56279 r57929  
    13351335}
    13361336
     1337void SERVER_DISPATCH_APIENTRY crServerDispatchDrawBuffers( GLsizei n, const GLenum* bufs )
     1338{
     1339    if (n == 1)
     1340    {
     1341        crServerDispatchDrawBuffer( bufs[0] );
     1342    }
     1343    else
     1344    {
     1345        /** @todo State tracker. */
     1346        cr_server.head_spu->dispatch_table.DrawBuffers( n, bufs );
     1347    }
     1348}
     1349
    13371350void SERVER_DISPATCH_APIENTRY crServerDispatchReadBuffer( GLenum mode )
    13381351{
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