mirror of
https://github.com/love2d/love.git
synced 2026-08-15 07:41:11 +02:00
Change auto.lua to create plaintext instead of hex code.
This commit is contained in:
@@ -1050,7 +1050,7 @@ namespace opengl
|
||||
|
||||
luax_register_module(L, w);
|
||||
|
||||
if (luaL_loadbuffer(L, (const char *)graphics_lua, sizeof(graphics_lua), "graphics.lua") == 0)
|
||||
if (luaL_loadbuffer(L, graphics_lua.c_str(), graphics_lua.size(), "graphics.lua") == 0)
|
||||
lua_call(L, 0, 0);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user