Push a fix for the upstream issue in ReFuel.
This commit is contained in:
@@ -4,6 +4,7 @@ using System.Runtime.InteropServices;
|
|||||||
using BlurgText;
|
using BlurgText;
|
||||||
using Dashboard.Drawing;
|
using Dashboard.Drawing;
|
||||||
using Dashboard.OpenGL;
|
using Dashboard.OpenGL;
|
||||||
|
using Dashboard.Pal;
|
||||||
using OpenTK.Graphics.OpenGL;
|
using OpenTK.Graphics.OpenGL;
|
||||||
using OPENGL = OpenTK.Graphics.OpenGL;
|
using OPENGL = OpenTK.Graphics.OpenGL;
|
||||||
|
|
||||||
@@ -32,6 +33,11 @@ namespace Dashboard.BlurgText.OpenGL
|
|||||||
public BlurgGLExtension()
|
public BlurgGLExtension()
|
||||||
{
|
{
|
||||||
Blurg = new Blurg(AllocateTexture, UpdateTexture);
|
Blurg = new Blurg(AllocateTexture, UpdateTexture);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Require(DeviceContext context)
|
||||||
|
{
|
||||||
|
base.Require(context);
|
||||||
Application.ExtensionRequire<BlurgTextExtension>().Loader.Configure(Blurg);
|
Application.ExtensionRequire<BlurgTextExtension>().Loader.Configure(Blurg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -190,7 +190,7 @@ namespace Dashboard.BlurgText
|
|||||||
|
|
||||||
IContextBase IContextExtensionBase.Context => Context;
|
IContextBase IContextExtensionBase.Context => Context;
|
||||||
|
|
||||||
public void Require(DeviceContext context)
|
public virtual void Require(DeviceContext context)
|
||||||
{
|
{
|
||||||
Context = context;
|
Context = context;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user