daily update on 20240206 by nitload youmu
This commit is contained in:
@@ -55,6 +55,14 @@ namespace StgSharp.Graphics
|
||||
{
|
||||
}
|
||||
|
||||
protected FrameBufferSizeHandler FrameBufferSizeCallback
|
||||
{
|
||||
set
|
||||
{
|
||||
gl.SetFrameBufferSizeCallback(this.windowID, value);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Height of this form, represent in <see cref="int"/>
|
||||
/// </summary>
|
||||
@@ -292,7 +300,6 @@ namespace StgSharp.Graphics
|
||||
windowPtr = InternalIO.glfw.CreateWindow(
|
||||
width, height, tittleBytes, monitor, sharedForm.windowID);
|
||||
}
|
||||
|
||||
if ((long)windowPtr == -1 || (long)windowPtr == -2)
|
||||
{
|
||||
throw new Exception("Cannot create window instance!");
|
||||
@@ -301,7 +308,6 @@ namespace StgSharp.Graphics
|
||||
{
|
||||
windowID = windowPtr;
|
||||
}
|
||||
|
||||
}
|
||||
InternalIO.InternalSetCurrentGLContext(windowID, contextID);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user