VirtualBox

Changeset 18735 in vbox for trunk/src


Ignore:
Timestamp:
Apr 6, 2009 9:09:45 AM (16 years ago)
Author:
vboxsync
Message:

crOpenGL: trap glFinish/glFlush for macos

File:
1 edited

Legend:

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

    r15532 r18735  
    10011001
    10021002
     1003#if defined(DARWIN)
     1004void renderspuFlush()
     1005{
     1006    render_spu.self.Flush();
     1007}
     1008
     1009void renderspuFinish()
     1010{
     1011    render_spu.self.Finish();
     1012}
     1013#endif
     1014
    10031015#define FILLIN( NAME, FUNC ) \
    10041016  table[i].name = crStrdup(NAME); \
     
    10371049    FILLIN( "GetChromiumParametervCR", renderspuGetChromiumParametervCR );
    10381050    FILLIN( "GetString", renderspuGetString );
     1051#if defined(DARWIN)
     1052    FILLIN( "Finish", renderspuFinish );
     1053    FILLIN( "Flush", renderspuFlush );
     1054#endif
    10391055    return i;
    10401056}
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