mirror of
https://github.com/love2d/love.git
synced 2026-08-12 16:40:57 +02:00
Also fixed love.window.setMode to fail instead of bug out when trying to set a fullscreen mode which is too large for the monitor.
This commit is contained in:
@@ -179,7 +179,7 @@ int w_triangulate(lua_State *L)
|
||||
lua_createtable(L, triangles.size(), 0);
|
||||
for (size_t i = 0; i < triangles.size(); ++i)
|
||||
{
|
||||
Triangle &tri = triangles[i];
|
||||
const Triangle &tri = triangles[i];
|
||||
|
||||
lua_createtable(L, 6, 0);
|
||||
lua_pushnumber(L, tri.a.x);
|
||||
|
||||
Reference in New Issue
Block a user