VirtualBox

Changeset 44083 in vbox for trunk/src/VBox/HostServices


Ignore:
Timestamp:
Dec 10, 2012 4:24:45 PM (12 years ago)
Author:
vboxsync
Message:

crOpenGL: more state fixes

File:
1 edited

Legend:

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

    r44059 r44083  
    7272crServerDispatchIsBufferARB(GLuint buffer)
    7373{
    74     GLboolean retval;
    75     retval = cr_server.head_spu->dispatch_table.IsBufferARB(crStateGetBufferHWID(buffer));
     74    /* since GenBuffersARB issued to host ogl only on bind + some other ops, the host drivers may not know about them
     75     * so use state data*/
     76    GLboolean retval = crStateIsBufferARB(buffer);
    7677    crServerReturnValue( &retval, sizeof(retval) );
    7778    return retval; /* WILL PROBABLY BE IGNORED */
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