1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Emscripten expects GLES2 (WebGL 1).

This commit is contained in:
Bartosz Taudul
2022-09-30 00:39:42 +02:00
parent 1d482a417d
commit 863b36d04b
2 changed files with 14 additions and 2 deletions
+5 -1
View File
@@ -1,6 +1,10 @@
#include <inttypes.h>
#include "../profiler/src/imgui/imgui_impl_opengl3_loader.h"
#ifdef __EMSCRIPTEN__
# include <GLES2/gl2.h>
#else
# include "../profiler/src/imgui/imgui_impl_opengl3_loader.h"
#endif
#include "TracyTexture.hpp"
#ifndef COMPRESSED_RGB_S3TC_DXT1_EXT