diff options
author | chai <chaifix@163.com> | 2019-12-15 00:39:18 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-12-15 00:39:18 +0800 |
commit | 749bbc6a54e50c297ab49d9e515a3679651d1461 (patch) | |
tree | 097bbe044332e816aa481db1a4e325b8d3f63b0d /src/core/texture.h | |
parent | 3f44877edfe4c301b258d522bcb4e8d9b6e92382 (diff) |
*misc
Diffstat (limited to 'src/core/texture.h')
-rw-r--r-- | src/core/texture.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/texture.h b/src/core/texture.h index 49fed4b..9e0d884 100644 --- a/src/core/texture.h +++ b/src/core/texture.h @@ -3,21 +3,21 @@ #include "vert.h" -typedef enum FilterMode { +typedef enum { FILTERMODE_POINT, FILTERMODE_BILINEAR, - FILTERMODE_TRILINEAR, + /*FILTERMODE_TRILINEAR,*/ } FilterMode; -typedef enum WrapMode{ +typedef enum { WRAPMODE_REPEAT, WRAPMODE_CLAMP, } WrapMode; -typedef struct Texture{ +typedef struct { uint width, height; - Color* pixels; -}Texture; + Color32* pixels; +} Texture; Texture* texture_loadfromfile(const char* path); |