Fixed warnings reported by gcc-9.3.0
Note from glebm@:
Back-ported from e0d5e4b0ff
Identical except for the changes to `MatrixTemplate`, which does not
exist in 3.6
This commit is contained in:
committed by
Gleb Mazovetskiy
parent
ddbed23537
commit
b7c186f6d3
@@ -1079,15 +1079,12 @@ bool WriteDDSFile(const osg::Image *img, std::ostream& fout, bool autoFlipDDSWri
|
||||
|
||||
// Initialize ddsd structure and its members
|
||||
DDSURFACEDESC2 ddsd;
|
||||
memset( &ddsd, 0, sizeof( ddsd ) );
|
||||
DDPIXELFORMAT ddpf;
|
||||
memset( &ddpf, 0, sizeof( ddpf ) );
|
||||
//DDCOLORKEY ddckCKDestOverlay;
|
||||
//DDCOLORKEY ddckCKDestBlt;
|
||||
//DDCOLORKEY ddckCKSrcOverlay;
|
||||
//DDCOLORKEY ddckCKSrcBlt;
|
||||
DDSCAPS2 ddsCaps;
|
||||
memset( &ddsCaps, 0, sizeof( ddsCaps ) );
|
||||
|
||||
ddsd.dwSize = sizeof(ddsd);
|
||||
ddpf.dwSize = sizeof(ddpf);
|
||||
|
||||
Reference in New Issue
Block a user