From d24f17b88d901b779c81c7434995675eb2a17429 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 4 Nov 2021 12:55:25 +0800 Subject: - Internal:: --- Runtime/Graphics/Texture.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Runtime/Graphics/Texture.h') diff --git a/Runtime/Graphics/Texture.h b/Runtime/Graphics/Texture.h index 9633db5..5c23fd7 100644 --- a/Runtime/Graphics/Texture.h +++ b/Runtime/Graphics/Texture.h @@ -4,6 +4,7 @@ #include "Runtime/Lua/LuaHelper.h" #include "../Utilities/UtilMacros.h" #include "OpenGL.h" +#include "Runtime/Math/Math.h" class ImageData; @@ -66,7 +67,7 @@ public: Texture(LuaBind::VM* vm, TextureSetting setting, ImageData* imgData)/*throw TextureException*/; ~Texture(); - void UpdateSubImage(Internal::Rect rect, int format, int type, const void* data); + void UpdateSubImage(Rect rect, int format, int type, const void* data); GET(int, Width, m_Width); GET(int, Height, m_Height); -- cgit v1.1-26-g67d0