Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
markaren committed May 3, 2024
1 parent 72fa05f commit f0874bd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions include/threepp/renderers/GLRenderTarget.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ namespace threepp {
std::optional<int> anisotropy;
std::optional<Encoding> encoding;

bool generateMipmaps = false;
bool depthBuffer = true;
bool stencilBuffer = false;
bool generateMipmaps{false};
bool depthBuffer{true};
bool stencilBuffer{false};
std::shared_ptr<DepthTexture> depthTexture;

Options() = default;
};

const std::string uuid;
Expand Down Expand Up @@ -66,7 +68,7 @@ namespace threepp {

void dispose();

static std::unique_ptr<GLRenderTarget> create(unsigned int width, unsigned int height, const Options& options = {});
static std::unique_ptr<GLRenderTarget> create(unsigned int width, unsigned int height, const Options& options);

~GLRenderTarget() override;

Expand Down

0 comments on commit f0874bd

Please sign in to comment.