Rev 2284 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2284 | Rev 2733 | ||
---|---|---|---|
Line 203... | Line 203... | ||
203 | sub esi, edx |
203 | sub esi, edx |
204 | @@: |
204 | @@: |
205 | mov ebx, [eax + Image.Height] |
205 | mov ebx, [eax + Image.Height] |
206 | mov ecx, [eax + Image.Width] |
206 | mov ecx, [eax + Image.Width] |
207 | ; for now, BMP code produces only 8 and 32 bpp images |
207 | ; for now, BMP code produces only 8 and 32 bpp images |
208 | cmp [eax + Image.Type], Image.bpp8 |
208 | cmp [eax + Image.Type], Image.bpp8i |
209 | jz .bpp8 |
209 | jz .bpp8 |
210 | .bpp32: |
210 | .bpp32: |
211 | mov edx, [esp+16] ; get background color |
211 | mov edx, [esp+16] ; get background color |
212 | .bpp32.extloop: |
212 | .bpp32.extloop: |
213 | push ecx |
213 | push ecx |