From 749bbc6a54e50c297ab49d9e515a3679651d1461 Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 15 Dec 2019 00:39:18 +0800 Subject: *misc --- src/core/texture.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/core/texture.h') 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); -- cgit v1.1-26-g67d0