summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-03-14 10:53:00 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-03-14 10:53:46 -0300
commitaf020160c6fa0eff7172faa8fad4190a81f5603f (patch)
tree9c965982268b481ff40be37366885ee339c20d0e
parent52ddd9ac9cf4074e6461a236808313002b0d83c4 (diff)
more html5 fixes
-rw-r--r--drivers/gles3/rasterizer_storage_gles3.cpp3
-rw-r--r--platform/javascript/detect.py5
2 files changed, 6 insertions, 2 deletions
diff --git a/drivers/gles3/rasterizer_storage_gles3.cpp b/drivers/gles3/rasterizer_storage_gles3.cpp
index 526b4ab9ce..52eb8299d9 100644
--- a/drivers/gles3/rasterizer_storage_gles3.cpp
+++ b/drivers/gles3/rasterizer_storage_gles3.cpp
@@ -6280,7 +6280,10 @@ void RasterizerStorageGLES3::initialize() {
shaders.cubemap_filter.init();
shaders.particles.init();
+#ifndef GLES_OVER_GL
+
glEnable(_EXT_TEXTURE_CUBE_MAP_SEAMLESS);
+#endif
frame.count = 0;
frame.prev_tick = 0;
diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py
index c828045179..d4d54b1ce8 100644
--- a/platform/javascript/detect.py
+++ b/platform/javascript/detect.py
@@ -74,9 +74,10 @@ def configure(env):
elif (env["target"] == "release_debug"):
env.Append(CCFLAGS=['-O2', '-DDEBUG_ENABLED'])
elif (env["target"] == "debug"):
- env.Append(CCFLAGS=['-D_DEBUG', '-Wall', '-O2', '-DDEBUG_ENABLED'])
- #env.Append(CCFLAGS=['-D_DEBUG', '-Wall', '-g4', '-DDEBUG_ENABLED'])
+ #env.Append(CCFLAGS=['-D_DEBUG', '-Wall', '-O2', '-DDEBUG_ENABLED'])
+ env.Append(CCFLAGS=['-D_DEBUG', '-Wall', '-g3', '-DDEBUG_ENABLED'])
env.Append(CPPFLAGS=['-DDEBUG_MEMORY_ALLOC'])
+ env.Append(LINKFLAGS=['--profiling-funcs'])
# TODO: Move that to opus module's config
if("module_opus_enabled" in env and env["module_opus_enabled"] != "no"):