Skip to content

Commit cf855c5

Browse files
committed
define DDSCAPS2_CUBEMAP manually
1 parent ba91ba3 commit cf855c5

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

  • GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2
  • Generals/Code/Libraries/Source/WWVegas/WW3D2

Generals/Code/Libraries/Source/WWVegas/WW3D2/ddsfile.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@ struct LegacyDDSCAPS2
5656
unsigned Caps4;
5757
};
5858

59+
#ifndef DDSCAPS2_CUBEMAP
60+
#define DDSCAPS2_CUBEMAP 0x00000200L
61+
#endif
62+
63+
#ifndef DDSCAPS2_VOLUME
64+
#define DDSCAPS2_VOLUME 0x00200000L
65+
#endif
66+
5967
// ----------------------------------------------------------------------------
6068
//
6169
// This structure represents the old DX7 pixel format structure. It is needed

GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/ddsfile.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@ struct LegacyDDSCAPS2
5656
unsigned Caps4;
5757
};
5858

59+
#ifndef DDSCAPS2_CUBEMAP
60+
#define DDSCAPS2_CUBEMAP 0x00000200L
61+
#endif
62+
63+
#ifndef DDSCAPS2_VOLUME
64+
#define DDSCAPS2_VOLUME 0x00200000L
65+
#endif
66+
5967
// ----------------------------------------------------------------------------
6068
//
6169
// This structure represents the old DX7 pixel format structure. It is needed

0 commit comments

Comments
 (0)