VirtualBox

Ignore:
Timestamp:
Nov 9, 2014 8:27:36 PM (10 years ago)
Author:
vboxsync
Message:

wined3d_gl.h: The GLhandleARB typedef is incompatible with 64-bit darwin (it's a pointer), leading to heap corruption, crashes and whatnot.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/shaderlib/wined3d_gl.h

    r53222 r53272  
    24122412#define GL_ARB_shader_objects 1
    24132413typedef char GLcharARB;
     2414#ifdef RT_OS_DARWIN
     2415typedef void *GLhandleARB;
     2416#else
    24142417typedef unsigned int GLhandleARB;
     2418#endif
    24152419#define GL_PROGRAM_OBJECT_ARB                               0x8b40
    24162420#define GL_OBJECT_TYPE_ARB                                  0x8b4e
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