rm logo.png;

This commit is contained in:
bjorn 2019-06-29 18:23:13 -07:00
parent b2df3e9816
commit d3f08fd1f0
5 changed files with 688 additions and 2389 deletions

View File

@ -1,7 +1,6 @@
#include "api.h"
#include "util.h"
#include "platform.h"
#include "resources/logo.png.h"
#include "lib/lua-cjson/lua_cjson.h"
#include "lib/lua-enet/enet.h"
@ -68,7 +67,5 @@ static const luaL_Reg lovr[] = {
int luaopen_lovr(lua_State* L) {
lua_newtable(L);
luaL_register(L, NULL, lovr);
lua_pushlstring(L, (const char*) logo_png, logo_png_len);
lua_setfield(L, -2, "_logo");
return 1;
}

View File

@ -8,6 +8,7 @@ local function nogame()
t.modules.thread = false
end
local shader
local models = {}
function lovr.load()
@ -16,8 +17,7 @@ local function nogame()
lovr.event.quit()
return
end
local texture = lovr.graphics.newTexture(lovr.data.newBlob(lovr._logo, 'logo.png'))
logo = lovr.graphics.newMaterial(texture)
lovr.graphics.setBackgroundColor(.894, .933, .949)
shader = lovr.graphics.newShader([[

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

File diff suppressed because it is too large Load Diff