diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-03-14 17:16:22 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-03-14 17:16:22 +0100 |
| commit | 28b00896a8cb94663a3d35313ee7d771d4af11e0 (patch) | |
| tree | 47ac8ff198b5ad9264263914b647ef5da620eefc /src/image.h | |
| parent | b7d17bdf8c0f1a4118709fbc5162463afb48b5c8 (diff) | |
use cstdint types
Diffstat (limited to 'src/image.h')
| -rw-r--r-- | src/image.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/image.h b/src/image.h index a3831cb..7bfe5ec 100644 --- a/src/image.h +++ b/src/image.h @@ -8,11 +8,12 @@ #include <windows.h> #include <GL/GL.h> #include <tchar.h> +#include <cstdint> typedef struct t_ts_image { GLuint id; - int width; - int height; + uint32_t width; + uint32_t height; } ts_image; #elif defined(__linux__) || defined(__APPLE__) @@ -23,8 +24,8 @@ typedef struct t_ts_image { typedef struct t_ts_image { GLuint id; - int width; - int height; + uint32_t width; + uint32_t height; } ts_image; #endif |
