ENABLE_THUMBNAIL_GENERATOR -> small refactoring

This commit is contained in:
Enrico Turri 2019-11-28 12:03:19 +01:00
parent 3537f74936
commit 0de3704287
2 changed files with 9 additions and 9 deletions

View file

@ -725,6 +725,7 @@ private:
void _render_selection_sidebar_hints() const;
void _render_undo_redo_stack(const bool is_undo, float pos_x);
#if ENABLE_THUMBNAIL_GENERATOR
void _render_thumbnail_internal(ThumbnailData& thumbnail_data, bool printable_only, bool parts_only, bool transparent_background);
// render thumbnail using an off-screen framebuffer
void _render_thumbnail_framebuffer(ThumbnailData& thumbnail_data, unsigned int w, unsigned int h, bool printable_only, bool parts_only, bool transparent_background);
// render thumbnail using an off-screen framebuffer when GLEW_EXT_framebuffer_object is supported