Compare commits
No commits in common. "d4abc645f44912eee1de4c9f2693c5e2f71fe2a5" and "a38527a322979de276506ea1dff1fac8337848cc" have entirely different histories.
d4abc645f4
...
a38527a322
4 changed files with 1 additions and 9 deletions
|
|
@ -897,7 +897,6 @@ precision highp int;
|
||||||
precision highp float;
|
precision highp float;
|
||||||
precision highp sampler2D;
|
precision highp sampler2D;
|
||||||
precision highp usampler2D;
|
precision highp usampler2D;
|
||||||
precision highp sampler2DShadow;
|
|
||||||
)";
|
)";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1269,7 +1269,6 @@ precision highp int;
|
||||||
precision highp float;
|
precision highp float;
|
||||||
precision highp sampler2D;
|
precision highp sampler2D;
|
||||||
precision highp usampler2D;
|
precision highp usampler2D;
|
||||||
precision highp sampler2DShadow;
|
|
||||||
)";
|
)";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -89,12 +89,7 @@ namespace psemek::log
|
||||||
|
|
||||||
std::lock_guard lock{sinks_mutex};
|
std::lock_guard lock{sinks_mutex};
|
||||||
for (auto const & sink : sinks)
|
for (auto const & sink : sinks)
|
||||||
{
|
|
||||||
sink->put_message(msg);
|
sink->put_message(msg);
|
||||||
#ifdef __EMSCRIPTEN__
|
|
||||||
sink->flush();
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static ::tm safe_localtime(std::time_t const & time)
|
static ::tm safe_localtime(std::time_t const & time)
|
||||||
|
|
|
||||||
|
|
@ -84,10 +84,9 @@ namespace psemek::sdl2
|
||||||
SDL_GL_MakeCurrent(window_, gl_context_);
|
SDL_GL_MakeCurrent(window_, gl_context_);
|
||||||
|
|
||||||
gfx::init();
|
gfx::init();
|
||||||
#if !defined(__EMSCRIPTEN__)
|
|
||||||
if (options.srgb)
|
if (options.srgb)
|
||||||
gl::Enable(gl::FRAMEBUFFER_SRGB);
|
gl::Enable(gl::FRAMEBUFFER_SRGB);
|
||||||
#endif
|
|
||||||
#elif defined(PSEMEK_GRAPHICS_API_WEBGPU)
|
#elif defined(PSEMEK_GRAPHICS_API_WEBGPU)
|
||||||
wgpu::setup_logging(log::level::error);
|
wgpu::setup_logging(log::level::error);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue