daily update on 20240315 by nitload youmu
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
@@ -33,10 +34,10 @@ namespace StgSharp
|
||||
VK
|
||||
}
|
||||
|
||||
public static partial class Platform
|
||||
public static partial class StgSharp
|
||||
{
|
||||
internal static GraphicAPI API = default;
|
||||
|
||||
private static bool vsyncActivated;
|
||||
private static uint markCount = 0;
|
||||
|
||||
public static void Mark(bool needConsole)
|
||||
@@ -55,22 +56,6 @@ namespace StgSharp
|
||||
/// </summary>
|
||||
public const long version = 430;
|
||||
|
||||
/// <summary>
|
||||
/// Init an instance of OpenGL program,
|
||||
/// This method should be called before other
|
||||
/// graphic methods, after LoadGL method.
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static void InitGL(int majorVersion, int minorVersion)
|
||||
{
|
||||
if (API != default)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
InternalIO.InternalInitGL(majorVersion, minorVersion);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Write a log message to log file, and mark the level of this message.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user