- Fix errors/warnings from MinGW 4.5.0 (tdm-1).
- Disable the missing field initializers warnings that -Wextra produces from GCC. SVN r3173 (trunk)
This commit is contained in:
parent
b477ed8490
commit
d3b44a4172
19 changed files with 25 additions and 23 deletions
|
|
@ -498,7 +498,7 @@ void FTexture::FillBuffer(BYTE *buff, int pitch, int height, FTextureFormat fmt)
|
|||
|
||||
case TEX_RGB:
|
||||
{
|
||||
FCopyInfo inf = {OP_OVERWRITE, BLEND_NONE, {NULL}, 0, 0};
|
||||
FCopyInfo inf = {OP_OVERWRITE, BLEND_NONE, {0}, 0, 0};
|
||||
FBitmap bmp(buff, pitch, pitch/4, height);
|
||||
CopyTrueColorPixels(&bmp, 0, 0, 0, &inf);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue