Mkfile
This commit is contained in:
parent
fa8dfaf8e8
commit
bfddf39a38
2
Makefile
2
Makefile
|
@ -87,7 +87,7 @@ MYTAG = $(VER)_$(PTYPE)_$(INFO)
|
|||
|
||||
DIST = $(NAME)-$(MYTAG).tar.gz
|
||||
|
||||
.PHONY: $(NAME)
|
||||
yugine: $(BIN)yugine
|
||||
|
||||
$(NAME): $(BIN)$(NAME)
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ struct Character {
|
|||
struct sFont {
|
||||
uint32_t fontTexture;
|
||||
uint32_t height;
|
||||
struct Character Characters[126];
|
||||
struct Character Characters[127];
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue