summaryrefslogtreecommitdiffstats
path: root/editor/plugins/curve_editor_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/curve_editor_plugin.h')
-rw-r--r--editor/plugins/curve_editor_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/curve_editor_plugin.h b/editor/plugins/curve_editor_plugin.h
index 06e2692373..c00aa3eca5 100644
--- a/editor/plugins/curve_editor_plugin.h
+++ b/editor/plugins/curve_editor_plugin.h
@@ -141,7 +141,7 @@ class CurvePreviewGenerator : public EditorResourcePreviewGenerator {
public:
virtual bool handles(const String &p_type) const;
- virtual Ref<Texture> generate(const Ref<Resource> &p_from, const Size2 &p_size) const;
+ virtual Ref<Texture2D> generate(const Ref<Resource> &p_from, const Size2 &p_size) const;
};
#endif // CURVE_EDITOR_PLUGIN_H