aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-05-14 19:09:39 +0200
committerCharles <sircharlesaze@gmail.com>2020-05-14 19:09:39 +0200
commitf6de2b1453930267015ab9323d5f83daa25667ba (patch)
tree5ff586948f7ffe257f8f46919f01bd99c1ffb82a /src/main.c
parent23ba151d95e4284ddb2d5f1c9810741061c293fd (diff)
downloadscop-f6de2b1453930267015ab9323d5f83daa25667ba.tar.gz
scop-f6de2b1453930267015ab9323d5f83daa25667ba.tar.bz2
scop-f6de2b1453930267015ab9323d5f83daa25667ba.zip
Added ugly Cylindric UV mapping, texture/color transition
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 1 insertions, 5 deletions
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 <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* 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);