Changeset 73390 in vbox for trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp
- Timestamp:
- Jul 30, 2018 7:32:01 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp
r73373 r73390 1520 1520 1521 1521 case SVGA3D_DEVCAP_SURFACEFMT_DXT2: 1522 case SVGA3D_DEVCAP_SURFACEFMT_DXT3: 1522 1523 case SVGA3D_DEVCAP_SURFACEFMT_DXT4: 1523 *pu32Val = 0; /* apparently not supported in OpenGL */1524 break;1525 1526 case SVGA3D_DEVCAP_SURFACEFMT_DXT3:1527 1524 case SVGA3D_DEVCAP_SURFACEFMT_DXT5: 1528 1525 case SVGA3D_DEVCAP_SURFACEFMT_BUMPX8L8V8U8: … … 1671 1668 1672 1669 case SVGA3D_DXT2: /* D3DFMT_DXT2 */ 1673 AssertMsgFailed(("Test me - SVGA3D_DXT2\n")); 1674 break; 1675 1670 /* "DXT2 and DXT3 are the same from an API perspective." */ 1671 RT_FALL_THRU(); 1676 1672 case SVGA3D_DXT3: /* D3DFMT_DXT3 - WINED3DFMT_DXT3 */ 1677 1673 pSurface->internalFormatGL = GL_COMPRESSED_RGBA_S3TC_DXT3_EXT; … … 1681 1677 1682 1678 case SVGA3D_DXT4: /* D3DFMT_DXT4 */ 1683 AssertMsgFailed(("Test me - SVGA3D_DXT4\n")); 1684 break; 1685 1679 /* "DXT4 and DXT5 are the same from an API perspective." */ 1680 RT_FALL_THRU(); 1686 1681 case SVGA3D_DXT5: /* D3DFMT_DXT5 - WINED3DFMT_DXT5 */ 1687 1682 pSurface->internalFormatGL = GL_COMPRESSED_RGBA_S3TC_DXT5_EXT;
Note:
See TracChangeset
for help on using the changeset viewer.