diff --git a/Makefile b/Makefile index 4b9d71e..63cba63 100755 --- a/Makefile +++ b/Makefile @@ -87,7 +87,7 @@ MYTAG = $(VER)_$(PTYPE)_$(INFO) DIST = $(NAME)-$(MYTAG).tar.gz -.PHONY: $(NAME) +yugine: $(BIN)yugine $(NAME): $(BIN)$(NAME) diff --git a/source/engine/font.h b/source/engine/font.h index 79826bb..6eac02b 100644 --- a/source/engine/font.h +++ b/source/engine/font.h @@ -17,7 +17,7 @@ struct Character { struct sFont { uint32_t fontTexture; uint32_t height; - struct Character Characters[126]; + struct Character Characters[127]; }; diff --git a/source/shaders/animspritefrag.glsl b/source/shaders/animspritefrag.glsl index d985be1..4727ab8 100644 --- a/source/shaders/animspritefrag.glsl +++ b/source/shaders/animspritefrag.glsl @@ -1,4 +1,4 @@ -#version 330 core +#version 330 in vec2 TexCoords; out vec4 color; @@ -7,7 +7,7 @@ uniform float frame; uniform vec3 spriteColor; void main() -{ +{ color = vec4(spriteColor, 1.f) * texture(image, vec3(TexCoords,frame)); if (color.a < 0.1) discard;