mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-11 15:45:05 +02:00
fix web build
add favicon
This commit is contained in:
@@ -772,7 +772,7 @@ namespace GAPI {
|
||||
|
||||
gfxInitDefault();
|
||||
|
||||
vramAlloc(0);
|
||||
vramFree(vramAlloc(0)); // vramInit()
|
||||
VRAM_TOTAL = vramSpaceFree();
|
||||
|
||||
consoleInit(GFX_BOTTOM, NULL);
|
||||
|
@@ -1488,7 +1488,7 @@ namespace GAPI {
|
||||
if (count) {
|
||||
#ifdef _OS_ANDROID
|
||||
glInvalidateFramebuffer(GL_FRAMEBUFFER, count, discard);
|
||||
#elif !defined(__SDL2__)
|
||||
#elif !defined(__SDL2__) && !defined(_OS_WEB)
|
||||
/* SDL2 typically uses MESA which does not have glDiscardFramebufferEXT() implemented
|
||||
for some drivers, like Gallium VC4. */
|
||||
glDiscardFramebufferEXT(GL_FRAMEBUFFER, count, discard);
|
||||
|
@@ -2,6 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>OpenLara</title>
|
||||
<link href="/projects/OpenLara/favicon.ico" rel="shortcut icon" type="image/x-icon" />
|
||||
<style>
|
||||
html {
|
||||
overflow: hidden;
|
||||
|
Reference in New Issue
Block a user