X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=ui.c;h=0d1b67fd2c33ecd5d3d3b6d8dc31d03adb55dc1b;hb=c434819cf7768231f60ad231b529cf21243c4ef9;hp=a8b3b9ea78169a872dac405af3f5edcde78baf2a;hpb=75515ccad0e2622bc94d816dc14738d357747617;p=xonotic%2Fdarkplaces.git diff --git a/ui.c b/ui.c index a8b3b9ea..0d1b67fd 100644 --- a/ui.c +++ b/ui.c @@ -3,6 +3,7 @@ // here is the real ui drawing engine +/* #define FRAME_THICKNESS 2 #define FRAME_COLOR1 0.2, 0.2, 0.5, 0, 0 #define FRAME_COLOR2 0, 0, 0, 0.6, 0 @@ -39,6 +40,7 @@ static void UIG_DrawCursor(float x, float y, float r, float g, float b, float a, { DrawQ_Fill(x,y,1, TEXT_FONTSIZE_Y, r, g, b, a, f); } +*/ static mempool_t *ui_mem; @@ -47,7 +49,7 @@ static mempool_t *ui_mem; void UI_Init(void) { - ui_mem = Mem_AllocPool("Intern UI Memory"); + ui_mem = Mem_AllocPool("Intern UI Memory", 0, NULL); } #define UI_Alloc(size) Mem_Alloc(ui_mem, size)