diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-10-25 19:16:40 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-11-19 16:59:27 +0100 |
commit | 46fdba5f8b09e2c52247ab28047f578e32414f1a (patch) | |
tree | bbad8bc21370aa46c5ddc2bc584586ff4c6c9e27 /drivers/SCsub | |
parent | 42f8bfaff0dc5a94ca351b1eaadc42cb95655b87 (diff) |
[HTML5] Add WebGL2 (GLES3) support using the OpenGL renderer.
Note, the editor build requires the mbedtls module to be manually
enabled, as it is currently needed as a ResourceUID dependency.
This will need to be addressed in a separate PR.
Diffstat (limited to 'drivers/SCsub')
-rw-r--r-- | drivers/SCsub | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/SCsub b/drivers/SCsub index 714d4110de..dd81fc645c 100644 --- a/drivers/SCsub +++ b/drivers/SCsub @@ -25,10 +25,9 @@ SConscript("winmidi/SCsub") # Graphics drivers if env["vulkan"]: SConscript("vulkan/SCsub") - SConscript("gles3/SCsub") +if env["opengl3"]: SConscript("gl_context/SCsub") -else: - SConscript("dummy/SCsub") + SConscript("gles3/SCsub") # Core dependencies SConscript("png/SCsub") |