1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

more html5 fixes

This commit is contained in:
Juan Linietsky
2017-03-14 10:53:00 -03:00
parent 52ddd9ac9c
commit af020160c6
2 changed files with 6 additions and 2 deletions

View File

@@ -6280,7 +6280,10 @@ void RasterizerStorageGLES3::initialize() {
shaders.cubemap_filter.init(); shaders.cubemap_filter.init();
shaders.particles.init(); shaders.particles.init();
#ifndef GLES_OVER_GL
glEnable(_EXT_TEXTURE_CUBE_MAP_SEAMLESS); glEnable(_EXT_TEXTURE_CUBE_MAP_SEAMLESS);
#endif
frame.count = 0; frame.count = 0;
frame.prev_tick = 0; frame.prev_tick = 0;

View File

@@ -74,9 +74,10 @@ def configure(env):
elif (env["target"] == "release_debug"): elif (env["target"] == "release_debug"):
env.Append(CCFLAGS=['-O2', '-DDEBUG_ENABLED']) env.Append(CCFLAGS=['-O2', '-DDEBUG_ENABLED'])
elif (env["target"] == "debug"): elif (env["target"] == "debug"):
env.Append(CCFLAGS=['-D_DEBUG', '-Wall', '-O2', '-DDEBUG_ENABLED']) #env.Append(CCFLAGS=['-D_DEBUG', '-Wall', '-O2', '-DDEBUG_ENABLED'])
#env.Append(CCFLAGS=['-D_DEBUG', '-Wall', '-g4', '-DDEBUG_ENABLED']) env.Append(CCFLAGS=['-D_DEBUG', '-Wall', '-g3', '-DDEBUG_ENABLED'])
env.Append(CPPFLAGS=['-DDEBUG_MEMORY_ALLOC']) env.Append(CPPFLAGS=['-DDEBUG_MEMORY_ALLOC'])
env.Append(LINKFLAGS=['--profiling-funcs'])
# TODO: Move that to opus module's config # TODO: Move that to opus module's config
if("module_opus_enabled" in env and env["module_opus_enabled"] != "no"): if("module_opus_enabled" in env and env["module_opus_enabled"] != "no"):