Disable transparency in the window
This commit is contained in:
parent
4e1c747c81
commit
6d04441cda
1 changed files with 1 additions and 4 deletions
|
@ -53,7 +53,7 @@ namespace Ryujinx.Ui
|
||||||
private Input.NpadController _primaryController;
|
private Input.NpadController _primaryController;
|
||||||
|
|
||||||
public GLRenderer(Switch device) :
|
public GLRenderer(Switch device) :
|
||||||
base (new GraphicsMode(), 3, 3, GraphicsContextFlags.ForwardCompatible)
|
base (new GraphicsMode(new ColorFormat(24)), 3, 3, GraphicsContextFlags.ForwardCompatible)
|
||||||
{
|
{
|
||||||
WaitEvent = new ManualResetEvent(false);
|
WaitEvent = new ManualResetEvent(false);
|
||||||
|
|
||||||
|
@ -249,8 +249,6 @@ namespace Ryujinx.Ui
|
||||||
{
|
{
|
||||||
_renderer.Initialize();
|
_renderer.Initialize();
|
||||||
|
|
||||||
GL.Disable(EnableCap.AlphaTest);
|
|
||||||
|
|
||||||
SwapBuffers();
|
SwapBuffers();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -263,7 +261,6 @@ namespace Ryujinx.Ui
|
||||||
|
|
||||||
using (ScopedGLContext scopedGLContext = new ScopedGLContext(WindowInfo, GraphicsContext))
|
using (ScopedGLContext scopedGLContext = new ScopedGLContext(WindowInfo, GraphicsContext))
|
||||||
{
|
{
|
||||||
|
|
||||||
_ticks += _chrono.ElapsedTicks;
|
_ticks += _chrono.ElapsedTicks;
|
||||||
|
|
||||||
_chrono.Restart();
|
_chrono.Restart();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue