summaryrefslogtreecommitdiffstats
path: root/scene/gui/video_stream_player.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/video_stream_player.h')
-rw-r--r--scene/gui/video_stream_player.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/scene/gui/video_stream_player.h b/scene/gui/video_stream_player.h
index 0b83608f0b..c173c8bfa3 100644
--- a/scene/gui/video_stream_player.h
+++ b/scene/gui/video_stream_player.h
@@ -36,8 +36,6 @@
#include "servers/audio/audio_rb_resampler.h"
#include "servers/audio_server.h"
-class ImageTexture;
-
class VideoStreamPlayer : public Control {
GDCLASS(VideoStreamPlayer, Control);
@@ -54,7 +52,7 @@ class VideoStreamPlayer : public Control {
RID stream_rid;
- Ref<ImageTexture> texture;
+ Ref<Texture2D> texture;
AudioRBResampler resampler;
Vector<AudioFrame> mix_buffer;