mirror of
https://github.com/love2d/love.git
synced 2026-08-19 20:19:42 +02:00
Fixed love.graphics.getPointStyle
This commit is contained in:
@@ -768,7 +768,10 @@ int w_getPointSize(lua_State *L)
|
|||||||
|
|
||||||
int w_getPointStyle(lua_State *L)
|
int w_getPointStyle(lua_State *L)
|
||||||
{
|
{
|
||||||
lua_pushinteger(L, instance->getPointStyle());
|
Graphics::PointStyle style = instance->getPointStyle();
|
||||||
|
const char *str;
|
||||||
|
Graphics::getConstant(style, str);
|
||||||
|
lua_pushstring(L, str);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user