VirtualBox

Ignore:
Timestamp:
Jun 8, 2009 2:38:19 PM (15 years ago)
Author:
vboxsync
Message:

crOpenGL: allow wine to query real host gpu vendor/version/renderer strings (public #3541)

File:
1 edited

Legend:

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

    r20392 r20411  
    10001000        return render_spu.ws.glGetString(GL_SHADING_LANGUAGE_VERSION);
    10011001#endif
     1002#ifdef GL_CR_real_vendor_strings
     1003    else if (pname == GL_REAL_VENDOR)
     1004        return render_spu.ws.glGetString(GL_VENDOR);
     1005    else if (pname == GL_REAL_VERSION)
     1006        return render_spu.ws.glGetString(GL_VERSION);
     1007    else if (pname == GL_REAL_RENDERER)
     1008        return render_spu.ws.glGetString(GL_RENDERER);
     1009#endif
    10021010    else
    10031011        return NULL;
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