diff --git a/scene/gui/video_stream_player.cpp b/scene/gui/video_stream_player.cpp index 41a210e180f2..687a9e46a0fa 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 0b83608f0bd6..c173c8bfa387 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 texture; + Ref texture; AudioRBResampler resampler; Vector mix_buffer;