mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
16 lines
342 B
C#
16 lines
342 B
C#
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;
|
|
}
|
|
}
|
|
}
|