From a981b1bc8bc549ec60bc1facf86cf2b2a3e3f159 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Thu, 7 Mar 2024 20:55:37 +0100 Subject: remove warning --- src/image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/image.cpp') diff --git a/src/image.cpp b/src/image.cpp index 091a128..ba67859 100644 --- a/src/image.cpp +++ b/src/image.cpp @@ -80,7 +80,7 @@ void ts_load_images() { return (void*)(intptr_t)tex; }; ifd::FileDialog::Instance().DeleteTexture = [](void* tex) { - GLuint texID = (GLuint)tex; + GLuint texID = (GLuint)(intptr_t)tex; glDeleteTextures(1, &texID); }; } \ No newline at end of file -- cgit v1.2.3-70-g09d2