Compare commits

..

No commits in common. "d4abc645f44912eee1de4c9f2693c5e2f71fe2a5" and "a38527a322979de276506ea1dff1fac8337848cc" have entirely different histories.

4 changed files with 1 additions and 9 deletions

View file

@ -897,7 +897,6 @@ precision highp int;
precision highp float;
precision highp sampler2D;
precision highp usampler2D;
precision highp sampler2DShadow;
)";
}

View file

@ -1269,7 +1269,6 @@ precision highp int;
precision highp float;
precision highp sampler2D;
precision highp usampler2D;
precision highp sampler2DShadow;
)";
}

View file

@ -89,12 +89,7 @@ namespace psemek::log
std::lock_guard lock{sinks_mutex};
for (auto const & sink : sinks)
{
sink->put_message(msg);
#ifdef __EMSCRIPTEN__
sink->flush();
#endif
}
}
static ::tm safe_localtime(std::time_t const & time)

View file

@ -84,10 +84,9 @@ namespace psemek::sdl2
SDL_GL_MakeCurrent(window_, gl_context_);
gfx::init();
#if !defined(__EMSCRIPTEN__)
if (options.srgb)
gl::Enable(gl::FRAMEBUFFER_SRGB);
#endif
#elif defined(PSEMEK_GRAPHICS_API_WEBGPU)
wgpu::setup_logging(log::level::error);