From f6de2b1453930267015ab9323d5f83daa25667ba Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 14 May 2020 19:09:39 +0200 Subject: Added ugly Cylindric UV mapping, texture/color transition --- src/main.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index b712a5a..3820cd5 100644 --- a/src/main.c +++ b/src/main.c @@ -6,7 +6,7 @@ /* By: charles +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/05/09 10:20:09 by charles #+# #+# */ -/* Updated: 2020/05/14 16:16:24 by charles ### ########.fr */ +/* Updated: 2020/05/14 16:48:35 by charles ### ########.fr */ /* */ /* ************************************************************************** */ @@ -82,10 +82,6 @@ int main(int argc, char **argv) printf("% f\n", data.vertices[i]); } - /* GL_CALL(glUniform1i(glGetUniformLocation(state.shader, "u_texture"), 0)); */ - /* GL_CALL(glActiveTexture(GL_TEXTURE0)); */ - /* GL_CALL(glBindTexture(GL_TEXTURE_2D, texture)); */ - if (!state_init(&state, &data)) return (1); state_run(&state); -- cgit