mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-29 06:28:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
|||
using Brutal.OpenGlApi;
|
||||
|
||||
namespace Brutal.ImGuiApi.Backends;
|
||||
|
||||
public partial class OpenGlBackend
|
||||
{
|
||||
internal static class Helpers
|
||||
{
|
||||
public static unsafe int GetIntegerv(GlEnum name)
|
||||
{
|
||||
var value = 0;
|
||||
OpenGl.GetIntegerv(name, new Span<int>(&value, 1));
|
||||
return value;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue