mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-23 13:28:24 +00:00
Added translation from "const GLubyte*" to string and added support for struct keyword.
This commit is contained in:
parent
0a53002ad3
commit
6f4aef89bf
|
@ -358,6 +358,14 @@ namespace Bind.GL2
|
||||||
{
|
{
|
||||||
GLTypes.Add(words[0], "void");
|
GLTypes.Add(words[0], "void");
|
||||||
}
|
}
|
||||||
|
else if (words[1] == "const" && words[2] == "GLubyte")
|
||||||
|
{
|
||||||
|
GLTypes.Add(words[0], "String");
|
||||||
|
}
|
||||||
|
else if (words[1] == "struct")
|
||||||
|
{
|
||||||
|
GLTypes.Add(words[0], words[2]);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
GLTypes.Add(words[0], words[1]);
|
GLTypes.Add(words[0], words[1]);
|
||||||
|
|
Loading…
Reference in a new issue