GSDX: Initialize class members

CID 146973 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)2. uninit_member: Non-static class member overflow is not initialized in this constructor nor in any functions that it calls.
2999}
This commit is contained in:
Akash 2015-10-22 19:33:34 +05:30
parent ffdc914c71
commit c1f1646dab
1 changed files with 1 additions and 0 deletions

View File

@ -2994,6 +2994,7 @@ bool GSState::IsMipMapActive()
GSState::GSTransferBuffer::GSTransferBuffer()
{
x = y = 0;
overflow = false;
start = end = total = 0;
buff = (uint8*)_aligned_malloc(1024 * 1024 * 4, 32);
}