VirtualBox

Changeset 37032 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 10, 2011 3:11:03 PM (14 years ago)
Author:
vboxsync
Message:

crOpenGL: fix missing updates for gnome3 on ubuntu 11.04

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/getprocaddress.py

    r30457 r37032  
    8989    if (!crStrcmp( name, "glXReleaseTexImageEXT" )) return (CR_PROC) VBOXGLXTAG(glXReleaseTexImageEXT);
    9090
     91#if defined(Linux) && defined(CR_EXT_framebuffer_blit)
     92    /* Hacky way to make gnome3 happy on ubuntu 11.04, even though glBlitFramebuffer is part of OpenGL 3.0 spec,
     93     * it expects to find glBlitFramebuffer and not glBlitFramebufferEXT after checking for EXT_framebuffer_blit support.
     94     * Untill 3.0 support, it's better to go this way instead of adding an alias to src/VBox/GuestHost/OpenGL/glapi_parser/apispec.txt.
     95     */
     96    if (!crStrcmp(name, "glBlitFramebuffer")) return crGetProcAddress("glBlitFramebufferEXT");
     97#endif
     98
    9199    if (name) crDebug("Returning NULL for %s", name);
    92100        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