summaryrefslogtreecommitdiff
path: root/drivers/gles3/texture_loader_gles3.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gles3/texture_loader_gles3.h')
-rw-r--r--drivers/gles3/texture_loader_gles3.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gles3/texture_loader_gles3.h b/drivers/gles3/texture_loader_gles3.h
index 68540fc5c0..54ddf80a96 100644
--- a/drivers/gles3/texture_loader_gles3.h
+++ b/drivers/gles3/texture_loader_gles3.h
@@ -31,8 +31,7 @@
#ifndef TEXTURE_LOADER_OPENGL_H
#define TEXTURE_LOADER_OPENGL_H
-#include "drivers/gles3/rasterizer_platforms.h"
-#ifdef GLES3_BACKEND_ENABLED
+#ifdef GLES3_ENABLED
#include "core/io/resource_loader.h"
#include "scene/resources/texture.h"
@@ -47,6 +46,6 @@ public:
virtual ~ResourceFormatGLES2Texture() {}
};
-#endif // GLES3_BACKEND_ENABLED
+#endif // GLES3_ENABLED
#endif // TEXTURE_LOADER_OPENGL_H