forked from pyrite-dev/milsko
wayland: give up on cairo and switch to OpenGL
This commit is contained in:
parent
c50e920123
commit
0adc98a2a2
6 changed files with 310 additions and 119 deletions
|
|
@ -1,4 +1,5 @@
|
|||
/* $Id$ */
|
||||
#include "Mw/LowLevel.h"
|
||||
#include <Mw/Milsko.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
@ -485,6 +486,7 @@ void MwDrawTriangle(MwWidget handle, MwRect* rect, MwLLColor color, int invert,
|
|||
p4[2].y = rect->y + s * border;
|
||||
}
|
||||
MwLLPolygon(handle->lowlevel, p4, 3, col);
|
||||
|
||||
if(color != col) MwLLFreeColor(col);
|
||||
|
||||
MwLLFreeColor(lighter);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue