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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user