VirtualBox

Ignore:
Timestamp:
May 3, 2012 8:19:54 AM (13 years ago)
Author:
vboxsync
Message:

crOpenGL: backwards compatibility for 3D saved state v 28

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/include/state/cr_attrib.h

    r15532 r41128  
    257257        GLboolean       enabled2D[CR_MAX_TEXTURE_UNITS];
    258258        GLboolean       enabled3D[CR_MAX_TEXTURE_UNITS];
    259 #ifdef CR_ARB_texture_cube_map
     259# ifdef CR_ARB_texture_cube_map
    260260        GLboolean       enabledCubeMap[CR_MAX_TEXTURE_UNITS];
    261 #endif
     261# endif
    262262        CRTextureObj *current1D[CR_MAX_TEXTURE_UNITS];
    263263        CRTextureObj *current2D[CR_MAX_TEXTURE_UNITS];
    264264        CRTextureObj *current3D[CR_MAX_TEXTURE_UNITS];
    265 #ifdef CR_ARB_texture_cube_map
     265# ifdef CR_ARB_texture_cube_map
    266266        CRTextureObj *currentCubeMap[CR_MAX_TEXTURE_UNITS];
    267 #endif
     267# endif
    268268        GLcolorf borderColor[4];  /* 4 = 1D, 2D, 3D and cube map textures */
    269269        GLenum minFilter[4];
     
    271271        GLenum wrapS[4];
    272272        GLenum wrapT[4];
    273 #ifdef CR_OPENGL_VERSION_1_2
     273# ifdef CR_OPENGL_VERSION_1_2
    274274        GLenum wrapR[4];
    275275        GLfloat priority[4];
     
    278278        GLint baseLevel[4];
    279279        GLint maxLevel[4];
    280 #endif
     280# endif
    281281
    282282        GLuint          curTextureUnit;
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