add spaces
This commit is contained in:
parent
e16bd903ef
commit
10e491cd35
|
@ -1511,11 +1511,12 @@ void DivSample::render(unsigned int formatMask) {
|
|||
for (unsigned int i=0, j=0; i<samples; i+=2, j+=3) {
|
||||
data12[j+0]=data16[i+0]>>8;
|
||||
data12[j+1]=((data16[i+0]>>4)&0xf)|(i+1<samples?(data16[i+1]>>4)&0xf:0);
|
||||
if (i+1<samples)
|
||||
if (i+1<samples) {
|
||||
data12[j+2]=data16[i+1]>>8;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void* DivSample::getCurBuf() {
|
||||
switch (depth) {
|
||||
|
|
Loading…
Reference in a new issue