UI: Move ui_draw_anti_tria to UI_interface.h

Using extern makes too easy to get a crash if the original
function definition changed.
This commit is contained in:
Dalai Felinto
2018-04-22 19:02:17 +02:00
parent 2d0c1f324c
commit 90068773db
5 changed files with 12 additions and 13 deletions

View File

@@ -494,7 +494,7 @@ Gwn_Batch *ui_batch_roundbox_shadow_get(void)
/* ************************************************* */
void ui_draw_anti_tria(float x1, float y1, float x2, float y2, float x3, float y3,
void UI_draw_anti_tria(float x1, float y1, float x2, float y2, float x3, float y3,
const float color[4])
{
float tri_arr[3][2] = {{x1, y1}, {x2, y2}, {x3, y3}};