mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-24 03:30:59 +00:00
Testing hack (hardcode texture #2).
This commit is contained in:
parent
e3535cdbb1
commit
72e1216a31
|
@ -23,7 +23,7 @@ namespace OpenTK.Graphics.Text
|
|||
if (c != '\n' && c != '\r' && !Char.IsWhiteSpace(c) && !cache.Contains(c, block.Font))
|
||||
cache.Add(c, block.Font);
|
||||
|
||||
GL.BindTexture(TextureTarget.Texture2D, 1);
|
||||
GL.BindTexture(TextureTarget.Texture2D, 2);
|
||||
|
||||
//GL.Begin(BeginMode.Quads);
|
||||
|
||||
|
@ -40,8 +40,6 @@ namespace OpenTK.Graphics.Text
|
|||
|
||||
//GL.Translate(0, 256, 0);
|
||||
|
||||
//GL.Disable(EnableCap.Texture2D);
|
||||
//GL.BindTexture(TextureTarget.Texture2D, 1);
|
||||
GL.Begin(BeginMode.Triangles);
|
||||
|
||||
int current = 0;
|
||||
|
|
Loading…
Reference in a new issue