Updated PCI IDs to latest snapshot.
[tangerine.git] / rom / hyperlayers / layers_init.c
blobe2cfd6b8f0560517c2ee0c4cd389d1cb079d1fcb
1 /*
2 Copyright © 1995-2006, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Layers Resident and initialization.
6 Lang: english
7 */
9 #include "layers_intern.h"
10 #include LC_LIBDEFS_FILE
11 #include <graphics/gfxbase.h>
12 #include <proto/exec.h>
13 #include <aros/symbolsets.h>
15 static int LayersInit(LIBBASETYPEPTR LIBBASE)
17 InitSemaphore(&LIBBASE->lb_MemLock);
19 LIBBASE->lb_ClipRectPool = CreatePool(MEMF_CLEAR | MEMF_PUBLIC, sizeof(struct ClipRect) * 50, sizeof(struct ClipRect) * 50);
20 if (!LIBBASE->lb_ClipRectPool)
21 return FALSE;
23 return TRUE;
26 ADD2INITLIB(LayersInit, 0);