Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5058 → Rev 5059

/contrib/sdk/sources/Intel-2D/sna/kgem.c
5667,10 → 5667,11
if (ret != 0) {
printf("Couldn't reference %s handle 0x%08x\n",
fb->name, fb->name);
return NULL;
return 0;
}
size = open_arg.size / PAGE_SIZE;
 
size = fb->pitch * fb->height / PAGE_SIZE;
 
bo = __kgem_bo_alloc(open_arg.handle, size);
if (!bo) {
return 0;