Tighter camera frustrum to reduce z-fighting

This commit is contained in:
Enrico Turri
2019-06-14 10:38:09 +02:00
parent a99466ef1d
commit 1a91add2e6
9 changed files with 123 additions and 71 deletions

View File

@@ -62,6 +62,7 @@ namespace GUI {
protected:
unsigned int generate_mipmaps(wxImage& image);
private:
bool load_from_png(const std::string& filename, bool use_mipmaps);
bool load_from_svg(const std::string& filename, bool use_mipmaps, unsigned int max_size_px);