CI/CD: fix for Windows

This commit is contained in:
2026-03-31 11:09:05 +02:00
parent 81b63f5e67
commit 63921c3ac5
5 changed files with 45 additions and 21 deletions

View File

@@ -30,6 +30,9 @@ EM_JS(void, js_clearCanvasInlineSize, (), {
if (c) { c.style.width = ''; c.style.height = ''; }
});
#elif defined(_WIN32)
#include <windows.h>
#include <GL/gl.h>
#else
#include <GL/gl.h>
#endif

View File

@@ -4,6 +4,9 @@
#ifdef __EMSCRIPTEN__
#include <GLES2/gl2.h>
#elif defined(_WIN32)
#include <windows.h>
#include <GL/gl.h>
#else
#include <GL/gl.h>
#endif

View File

@@ -2,6 +2,9 @@
#include "core/Types.h"
#include "ui/ColorMap.h"
#ifdef _WIN32
#include <windows.h>
#endif
#include <GL/gl.h>
#include <vector>
#include <deque>