mirror of
https://github.com/love2d/love.git
synced 2026-08-14 01:20:56 +02:00
Rename love.graphics.flush to love.graphics.flushBatch.
Mesh/Spritebatch/Text:flush already exist and do something a bit different (flush vertices instead of render a pending batch). --HG-- branch : minor
This commit is contained in:
@@ -2383,7 +2383,7 @@ int w_polygon(lua_State *L)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int w_flush(lua_State *)
|
||||
int w_flushBatch(lua_State *)
|
||||
{
|
||||
instance()->flushStreamDraws();
|
||||
return 0;
|
||||
@@ -2590,7 +2590,7 @@ static const luaL_Reg functions[] =
|
||||
{ "arc", w_arc },
|
||||
{ "polygon", w_polygon },
|
||||
|
||||
{ "flush", w_flush },
|
||||
{ "flushBatch", w_flushBatch },
|
||||
|
||||
{ "push", w_push },
|
||||
{ "pop", w_pop },
|
||||
|
||||
Reference in New Issue
Block a user