VirtualBox

Changeset 56948 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 16, 2015 9:08:42 AM (9 years ago)
Author:
vboxsync
Message:

Host 3D: Display Lists: fix IDs convertion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/dlm/dlm_lists.c

    r56943 r56948  
    273273
    274274
    275 /* This routine translates guest Display List IDs in given format to host IDs.
     275/* This routine translates guest Display List IDs in given format to host IDs
     276 * and return resulting IDs as an array of elements of type GL_UNSIGNED_INT.
    276277 * It is based on TranslateListIDs() function from crserverlib/server_lists.c. */
    277278static bool
     
    366367        if (aHostIDs)
    367368        {
     369            /* Convert IDs. Resulting array contains elements of type of GL_UNSIGNED_INT. */
    368370            if (crDLMConvertListIDs(pListState, n, type, lists, aHostIDs))
    369                 dispatchTable->CallLists(n, type, aHostIDs);
     371                dispatchTable->CallLists(n, GL_UNSIGNED_INT, aHostIDs);
    370372            else
    371373                crDebug("DLM: CallLists() failed.");
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