diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-03-07 20:55:37 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-03-07 20:55:37 +0100 |
| commit | a981b1bc8bc549ec60bc1facf86cf2b2a3e3f159 (patch) | |
| tree | f714fb5233c21ecc5d4c9a95be7d8d45986fbdb0 /src/image.cpp | |
| parent | 3c3be024f4ca7b7fda0aac44592506788b8a5309 (diff) | |
remove warning
Diffstat (limited to 'src/image.cpp')
| -rw-r--r-- | src/image.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
