Update emscripten version

This commit is contained in:
Vladislav Khorev committed 2026-11-09 15:36:42 +06:00
1 parent ea8f64c940
commit 2a7498695a
18 files changed
+76 -66

No files matched your search

+3 -3
View File
@@ -1,4 +1,4 @@
#include "ShadowMap.h"
#include "ShadowMap.h"
#include "Environment.h"
#include <iostream>
#include <cmath>
@@ -56,7 +56,7 @@ namespace FRG {
{
glGenFramebuffers(1, &fbo);
#if defined(EMSCRIPTEN) || defined(__ANDROID__)
#if defined(__EMSCRIPTEN__) || defined(__ANDROID__)
glGenTextures(1, &depthTexture);
glBindTexture(GL_TEXTURE_2D, depthTexture);
@@ -87,7 +87,7 @@ namespace FRG {
GL_TEXTURE_2D, depthTexture, 0);
// No color buffer for this FBO — depth only.
#if defined(EMSCRIPTEN) || defined(__ANDROID__)
#if defined(__EMSCRIPTEN__) || defined(__ANDROID__)
GLenum drawBuffers[] = { GL_NONE };
glDrawBuffers(1, drawBuffers);
#else