Skip to content

Commit 1635fef

Browse files
committed
Update README and Helpers.pm for CPAN release
1 parent 5afaab2 commit 1635fef

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

README

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,17 @@ DEPENDENCIES
3535

3636
This module requires these other modules and libraries:
3737

38-
OpenGL 0.70 (provides needed unimplemented functionality)
39-
Filter::signatures 0.07
38+
OpenGL 0.70 (use to provide any unimplemented functions)
39+
Capture::Tiny
4040
Carp
4141
Devel::CheckOS
42+
ExtUtils::Constant
4243
ExtUtils::MakeMaker
4344

4445
COPYRIGHT AND LICENCE
4546

4647

47-
Copyright (C) 2016 by Chris Marshall
48+
Copyright (C) 2017 by Chris Marshall
4849
Copyright (C) 2016 by Max Maischein
4950

5051
This library is free software; you can redistribute it and/or modify

lib/OpenGL/Modern/Helpers.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ sub glGetShaderInfoLog_p {
211211
my $buffer = "\0" x $bufsize;
212212
my $len = "\0" x 4;
213213
# void glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei* length, GLchar* infoLog);
214-
glGetShaderInfoLog( $shader, $bufsize, unpack('Q',pack('p',$len)), $buffer);
214+
glGetShaderInfoLog_c( $shader, $bufsize, unpack('Q',pack('p',$len)), $buffer);
215215
$len = unpack 'I', $len;
216216
return substr $buffer, 0, $len;
217217
}
@@ -222,7 +222,7 @@ sub glGetProgramInfoLog_p {
222222
my $buffer = "\0" x $bufsize;
223223
my $len = "\0" x 4;
224224
# void glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei* length, GLchar* infoLog);
225-
glGetProgramInfoLog( $program, $bufsize, unpack('Q',pack('p',$len)), $buffer);
225+
glGetProgramInfoLog_c( $program, $bufsize, unpack('Q',pack('p',$len)), $buffer);
226226
$len = unpack 'I', $len;
227227
return substr $buffer, 0, $len;
228228
}

0 commit comments

Comments
 (0)