mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-29 18:07:08 +00:00
For #212 BaseVertex family: invalid type of "indices" parameter
Convert void* to GLvoid * in function parameters. TODO - const and void**
This commit is contained in:
parent
b7b516bf88
commit
db6dbecb7a
@ -240,6 +240,7 @@ sub parse_spec($)
|
|||||||
$return =~ s/void\*/GLvoid */og;
|
$return =~ s/void\*/GLvoid */og;
|
||||||
$parms =~ s/$regex{types}/$typemap{$1}/og;
|
$parms =~ s/$regex{types}/$typemap{$1}/og;
|
||||||
$parms =~ s/$regex{voidtype}/$voidtypemap{$1}/og;
|
$parms =~ s/$regex{voidtype}/$voidtypemap{$1}/og;
|
||||||
|
$parms =~ s/ void\* / GLvoid */og;
|
||||||
}
|
}
|
||||||
# add to functions hash
|
# add to functions hash
|
||||||
$functions{$name} = {
|
$functions{$name} = {
|
||||||
|
Loading…
Reference in New Issue
Block a user