diff options
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); |