From ccca41a0862c341d70c200556f6b6f350560a734 Mon Sep 17 00:00:00 2001 From: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Date: Sat, 21 Sep 2024 15:00:02 +0200 Subject: [PATCH] Remove direct render include in `ExternalTexture` This include introduces `windows/platform_gl.h` into the include hierarchy which adds defines which break building on MSVC --- scene/resources/external_texture.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/scene/resources/external_texture.cpp b/scene/resources/external_texture.cpp index c088406030f..0552bbd0814 100644 --- a/scene/resources/external_texture.cpp +++ b/scene/resources/external_texture.cpp @@ -30,9 +30,6 @@ #include "external_texture.h" -#include "drivers/gles3/storage/texture_storage.h" -#include "servers/rendering/rendering_server_globals.h" - void ExternalTexture::_bind_methods() { ClassDB::bind_method(D_METHOD("set_size", "size"), &ExternalTexture::set_size); ClassDB::bind_method(D_METHOD("get_external_texture_id"), &ExternalTexture::get_external_texture_id);