mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-07 16:50:43 +00:00
Added ConstCharPointer->string transformation in accordance to GL 4.3
specs.
This commit is contained in:
parent
98504ce67a
commit
61fd8d6122
|
@ -238,7 +238,8 @@ namespace Bind
|
||||||
// "(Const)VoidPointer" -> "void*"
|
// "(Const)VoidPointer" -> "void*"
|
||||||
GLTypes.Add(words[0], "void*");
|
GLTypes.Add(words[0], "void*");
|
||||||
}
|
}
|
||||||
else if (words[0] == "CharPointer" || words[0] == "charPointerARB")
|
else if (words[0] == "CharPointer" || words[0] == "charPointerARB" ||
|
||||||
|
words[0] == "ConstCharPointer")
|
||||||
{
|
{
|
||||||
// The typematching logic cannot handle pointers to pointers, e.g. CharPointer* -> char** -> string* -> string[].
|
// The typematching logic cannot handle pointers to pointers, e.g. CharPointer* -> char** -> string* -> string[].
|
||||||
// Hence we give it a push.
|
// Hence we give it a push.
|
||||||
|
|
Loading…
Reference in a new issue