Skip to content

Commit

Permalink
Comment removed.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcristici committed Jan 10, 2025
1 parent ee238c7 commit fd4b3ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/mbgl/shaders/mtl/shader_group.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ class ShaderGroup final : public ShaderGroupBase {
addAdditionalDefines(propertiesAsUniforms, additionalDefines);

auto& context = static_cast<Context&>(gfxContext);
// C++26 will allow operator+ with std::string and std::string_view
const auto shaderSource = std::string(shaders::prelude) + std::string(prelude) + std::string(source);
const auto shaderSource = std::string(shaders::prelude) + prelude + source;
shader = context.createProgram(
ShaderID, shaderName, shaderSource, vertMain, fragMain, programParameters, additionalDefines);
assert(shader);
Expand Down

0 comments on commit fd4b3ee

Please sign in to comment.