Skip to content

Commit 6ba391e

Browse files
committed
remove TODO that have been done
1 parent ac0a328 commit 6ba391e

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

test.pl

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,6 @@
118118
# glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 2);
119119
# glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 0);
120120

121-
# TODO: implement NULL pointer (is 0 or undef enough?)
122-
# $window = glfwCreateWindow(640, 480, "Simple example", NULL, NULL);
123-
#
124121
$window = glfwCreateWindow(640, 480, "Simple example", NULL, NULL);
125122
unless (defined $window) {
126123
glfwTerminate();
@@ -163,9 +160,9 @@
163160
glAttachShader($program, $fragment_shader);
164161
glLinkProgram($program);
165162

166-
my $mvp_location = glGetUniformLocation($program, "MVP"); # TODO change name to _p or no-suffix
167-
my $vpos_location = glGetAttribLocation($program, "vPos"); # TODO change name to _p or no-suffix
168-
my $vcol_location = glGetAttribLocation($program, "vCol"); # TODO change name to _p or no-suffix
163+
my $mvp_location = glGetUniformLocation($program, "MVP");
164+
my $vpos_location = glGetAttribLocation($program, "vPos");
165+
my $vcol_location = glGetAttribLocation($program, "vCol");
169166

170167
glEnableVertexAttribArray($vpos_location);
171168
#------------------------------------------------------------ stride, offset

0 commit comments

Comments
 (0)