summaryrefslogtreecommitdiffstats
path: root/scene/gui
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/video_stream_player.cpp1
-rw-r--r--scene/gui/video_stream_player.h4
2 files changed, 1 insertions, 4 deletions
diff --git a/scene/gui/video_stream_player.cpp b/scene/gui/video_stream_player.cpp
index 41a210e180..687a9e46a0 100644
--- a/scene/gui/video_stream_player.cpp
+++ b/scene/gui/video_stream_player.cpp
@@ -31,7 +31,6 @@
#include "video_stream_player.h"
#include "core/os/os.h"
-#include "scene/resources/image_texture.h"
#include "scene/scene_string_names.h"
#include "servers/audio_server.h"
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;