summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-09-21 15:00:02 +0200
committerA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-09-21 17:44:28 +0200
commitccca41a0862c341d70c200556f6b6f350560a734 (patch)
treebd9426202777e7d35d6e5b70c3febf0b58bd37cd
parente4e024ab88efe74677769395886bc1b09eccbac7 (diff)
downloadredot-engine-ccca41a0862c341d70c200556f6b6f350560a734.tar.gz
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
-rw-r--r--scene/resources/external_texture.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/scene/resources/external_texture.cpp b/scene/resources/external_texture.cpp
index c088406030..0552bbd081 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);