mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
fix style
This commit is contained in:
parent
8398a730b5
commit
d597e27118
@ -527,8 +527,9 @@ void MxDisplaySurface::VTable0x30(
|
|||||||
MxLong length = ddsd.lPitch;
|
MxLong length = ddsd.lPitch;
|
||||||
for (MxS32 i = 0; p_height > i; i++) {
|
for (MxS32 i = 0; p_height > i; i++) {
|
||||||
for (MxS32 j = 0; p_width > j; j++) {
|
for (MxS32 j = 0; p_width > j; j++) {
|
||||||
if (*data != 0)
|
if (*data != 0) {
|
||||||
*(MxU8*) surface = *data;
|
*(MxU8*) surface = *data;
|
||||||
|
}
|
||||||
data++;
|
data++;
|
||||||
surface++;
|
surface++;
|
||||||
}
|
}
|
||||||
@ -559,8 +560,9 @@ void MxDisplaySurface::VTable0x30(
|
|||||||
MxLong length = ddsd.lPitch - (2 * p_width);
|
MxLong length = ddsd.lPitch - (2 * p_width);
|
||||||
for (MxS32 i = 0; p_height > i; i++) {
|
for (MxS32 i = 0; p_height > i; i++) {
|
||||||
for (MxS32 j = 0; p_width > j; j++) {
|
for (MxS32 j = 0; p_width > j; j++) {
|
||||||
if (*data != 0)
|
if (*data != 0) {
|
||||||
*(MxU16*) surface = m_16bitPal[*data];
|
*(MxU16*) surface = m_16bitPal[*data];
|
||||||
|
}
|
||||||
data++;
|
data++;
|
||||||
surface += 2;
|
surface += 2;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user