fix DS being shown upside down when ScreenControlNDS is used
fixes 78f5e75534
This commit is contained in:
parent
f7448495b0
commit
7a2f1532bf
|
@ -482,7 +482,7 @@ namespace BizHawk.Bizware.Graphics
|
|||
{
|
||||
// create a texture for it
|
||||
var texId = GenTexture();
|
||||
var tex = new Texture2d(this, texId, w, h) { IsUpsideDown = true }; // TODO: The IsUpsideDown doesn't ever get used here it seems
|
||||
var tex = new Texture2d(this, texId, w, h);
|
||||
|
||||
GL.BindTexture(TextureTarget.Texture2D, texId);
|
||||
GL.TexImage2D(TextureTarget.Texture2D, 0, InternalFormat.Rgba8, (uint)w, (uint)h, 0, PixelFormat.Bgra, PixelType.UnsignedByte, IntPtr.Zero.ToPointer());
|
||||
|
|
|
@ -3838,7 +3838,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
//path = ioa_openrom.Path;
|
||||
}
|
||||
|
||||
DisplayManager.ActivateOpenGLContext(); // required in case the core wants to created a shared OpenGL context
|
||||
DisplayManager.ActivateOpenGLContext(); // required in case the core wants to create a shared OpenGL context
|
||||
|
||||
var result = loader.LoadRom(path, nextComm, ioaRetro?.CorePath, forcedCoreName: MovieSession.QueuedCoreName);
|
||||
|
||||
if (result) Game = loader.Game;
|
||||
|
|
Loading…
Reference in New Issue