mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-11 09:33:49 +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