Get[Program|Shader]InfoLog now return strings directly (instead of out parameters).
This commit is contained in:
parent
a405f07d55
commit
ac0e20e3fd
1 changed files with 22 additions and 0 deletions
|
@ -913,6 +913,17 @@ namespace OpenTK.Graphics
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region public static string GetShaderInfoLog(Int32 shader)
|
||||||
|
|
||||||
|
public static string GetShaderInfoLog(Int32 shader)
|
||||||
|
{
|
||||||
|
string info;
|
||||||
|
GetShaderInfoLog(shader, out info);
|
||||||
|
return info;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
#region public static void GetShaderInfoLog(Int32 shader, out string info)
|
#region public static void GetShaderInfoLog(Int32 shader, out string info)
|
||||||
|
|
||||||
public static void GetShaderInfoLog(Int32 shader, out string info)
|
public static void GetShaderInfoLog(Int32 shader, out string info)
|
||||||
|
@ -934,6 +945,17 @@ namespace OpenTK.Graphics
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region public static string GetProgramInfoLog(Int32 program)
|
||||||
|
|
||||||
|
public static string GetProgramInfoLog(Int32 program)
|
||||||
|
{
|
||||||
|
string info;
|
||||||
|
GetProgramInfoLog(program, out info);
|
||||||
|
return info;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
#region public static void GetProgramInfoLog(Int32 program, out string info)
|
#region public static void GetProgramInfoLog(Int32 program, out string info)
|
||||||
|
|
||||||
public static void GetProgramInfoLog(Int32 program, out string info)
|
public static void GetProgramInfoLog(Int32 program, out string info)
|
||||||
|
|
Loading…
Reference in a new issue