Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 3068 → Rev 3248

/programs/media/Fplay/utils.c
97,3 → 97,21
 
return ret;
}
 
void blit_raw(ctx_t *ctx, void *raw, int x, int y, int w, int h, int pitch)
{
int *dst = (int*)ctx->pixmap->data;
int *src = raw;
int i, j;
 
dst+= y * ctx->pixmap->pitch/4 + x;
 
 
for(i=0; i < h; i++)
{
for(j = 0; j < w; j++)
dst[j] = src[j];
dst+= ctx->pixmap->pitch/4;
src+= pitch/4;
};
};