File tree Expand file tree Collapse file tree 6 files changed +21
-19
lines changed Expand file tree Collapse file tree 6 files changed +21
-19
lines changed Original file line number Diff line number Diff line change
1
+ - fix tests to use latest OpenGL::Modern (glGetUniformLocation_c removed _c)
2
+
1
3
0.0402 2025-04-11
2
4
- minimum Perl 5.10 for better Exporter
3
5
- add constants up to GLFW 3.4
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ WriteMakefile(
18
18
},
19
19
MIN_PERL_VERSION => ' 5.010' ,
20
20
TEST_REQUIRES => {
21
- ' OpenGL::Modern' => 0.04 ,
21
+ ' OpenGL::Modern' => ' 0.0401 ' ,
22
22
},
23
23
ABSTRACT_FROM => ' lib/OpenGL/GLFW.pm' , # retrieve abstract from module
24
24
AUTHOR => ' Chris Marshall <[email protected] >' ,
Original file line number Diff line number Diff line change 38
38
# glUseProgram
39
39
# glViewport
40
40
#
41
- # glGetAttribLocation_c
42
- # glGetUniformLocation_c
41
+ # glGetAttribLocation
42
+ # glGetUniformLocation
43
43
# glUniformMatrix4fv_c
44
44
# glVertexAttribPointer_c
45
45
#
260
260
glAttachShader($program , $fragment_shader );
261
261
glLinkProgram($program );
262
262
263
- my $mvp_location = glGetUniformLocation_c ($program , " MVP" ); # TODO change name to _p or no-suffix
264
- my $vpos_location = glGetAttribLocation_c ($program , " vPos" ); # TODO change name to _p or no-suffix
265
- my $vcol_location = glGetAttribLocation_c ($program , " vCol" ); # TODO change name to _p or no-suffix
263
+ my $mvp_location = glGetUniformLocation ($program , " MVP" ); # TODO change name to _p or no-suffix
264
+ my $vpos_location = glGetAttribLocation ($program , " vPos" ); # TODO change name to _p or no-suffix
265
+ my $vcol_location = glGetAttribLocation ($program , " vCol" ); # TODO change name to _p or no-suffix
266
266
267
267
glEnableVertexAttribArray($vpos_location );
268
268
# ------------------------------------------------------------ stride, offset
Original file line number Diff line number Diff line change 231
231
glAttachShader($program , $fragment_shader );
232
232
glLinkProgram($program );
233
233
234
- my $mvp_location = glGetUniformLocation_c ($program , " MVP" ); # TODO change name to _p or no-suffix
235
- my $vpos_location = glGetAttribLocation_c ($program , " vPos" ); # TODO change name to _p or no-suffix
236
- my $vcol_location = glGetAttribLocation_c ($program , " vCol" ); # TODO change name to _p or no-suffix
234
+ my $mvp_location = glGetUniformLocation ($program , " MVP" ); # TODO change name to _p or no-suffix
235
+ my $vpos_location = glGetAttribLocation ($program , " vPos" ); # TODO change name to _p or no-suffix
236
+ my $vcol_location = glGetAttribLocation ($program , " vCol" ); # TODO change name to _p or no-suffix
237
237
238
238
glEnableVertexAttribArray($vpos_location );
239
239
# ------------------------------------------------------------ stride, offset
Original file line number Diff line number Diff line change 38
38
# glUseProgram
39
39
# glViewport
40
40
#
41
- # glGetAttribLocation_c
42
- # glGetUniformLocation_c
41
+ # glGetAttribLocation
42
+ # glGetUniformLocation
43
43
# glUniformMatrix4fv_c
44
44
# glVertexAttribPointer_c
45
45
#
148
148
glAttachShader( $program , $fragment_shader );
149
149
glLinkProgram( $program );
150
150
151
- my $mvp_location = glGetUniformLocation_c ( $program , " MVP" ); # TODO change name to _p or no-suffix
152
- my $vpos_location = glGetAttribLocation_c ( $program , " vPos" ); # TODO change name to _p or no-suffix
153
- my $vcol_location = glGetAttribLocation_c ( $program , " vCol" ); # TODO change name to _p or no-suffix
151
+ my $mvp_location = glGetUniformLocation ( $program , " MVP" ); # TODO change name to _p or no-suffix
152
+ my $vpos_location = glGetAttribLocation ( $program , " vPos" ); # TODO change name to _p or no-suffix
153
+ my $vcol_location = glGetAttribLocation ( $program , " vCol" ); # TODO change name to _p or no-suffix
154
154
155
155
glEnableVertexAttribArray( $vpos_location );
156
156
Original file line number Diff line number Diff line change 46
46
# glUseProgram
47
47
# glViewport
48
48
#
49
- # glGetAttribLocation_c
50
- # glGetUniformLocation_c
49
+ # glGetAttribLocation
50
+ # glGetUniformLocation
51
51
# glUniformMatrix4fv_c
52
52
# glVertexAttribPointer_c
53
53
#
163
163
glAttachShader($program , $fragment_shader );
164
164
glLinkProgram($program );
165
165
166
- my $mvp_location = glGetUniformLocation_c ($program , " MVP" ); # TODO change name to _p or no-suffix
167
- my $vpos_location = glGetAttribLocation_c ($program , " vPos" ); # TODO change name to _p or no-suffix
168
- my $vcol_location = glGetAttribLocation_c ($program , " vCol" ); # TODO change name to _p or no-suffix
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
169
169
170
170
glEnableVertexAttribArray($vpos_location );
171
171
# ------------------------------------------------------------ stride, offset
You can’t perform that action at this time.
0 commit comments