mirror of
https://github.com/keharriso/love-nuklear.git
synced 2025-09-10 16:17:47 -04:00
Fix point size in multi-color rect
This commit is contained in:
parent
cb390c2dcd
commit
2d0611adfe
1 changed files with 1 additions and 2 deletions
|
@ -299,9 +299,8 @@ static void nk_love_draw_rect_multi_color(int x, int y, unsigned int w,
|
||||||
lua_pushnumber(L, 255);
|
lua_pushnumber(L, 255);
|
||||||
lua_pushnumber(L, 255);
|
lua_pushnumber(L, 255);
|
||||||
lua_call(L, 3, 0);
|
lua_call(L, 3, 0);
|
||||||
|
|
||||||
lua_getfield(L, -1, "setPointSize");
|
lua_getfield(L, -1, "setPointSize");
|
||||||
lua_pushnumber(L, 0);
|
lua_pushnumber(L, 1);
|
||||||
lua_call(L, 1, 0);
|
lua_call(L, 1, 0);
|
||||||
|
|
||||||
struct nk_color X1, X2, Y;
|
struct nk_color X1, X2, Y;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue