mirror of
https://github.com/osukey/osukey.git
synced 2025-05-01 19:57:25 +09:00
Use QuadBatch rather than LinearBatch of quads for LogoVisualisation
GL_QUADS is deprecated, and is not supported at all on OpenGL ES. This fixes the logo visualisation not drawing on iOS.
This commit is contained in:
parent
655654760b
commit
521b11dfcb
@ -150,7 +150,7 @@ namespace osu.Game.Screens.Menu
|
|||||||
|
|
||||||
private class VisualiserSharedData
|
private class VisualiserSharedData
|
||||||
{
|
{
|
||||||
public readonly LinearBatch<TexturedVertex2D> VertexBatch = new LinearBatch<TexturedVertex2D>(100 * 4, 10, PrimitiveType.Quads);
|
public readonly QuadBatch<TexturedVertex2D> VertexBatch = new QuadBatch<TexturedVertex2D>(100, 10);
|
||||||
}
|
}
|
||||||
|
|
||||||
private class VisualisationDrawNode : DrawNode
|
private class VisualisationDrawNode : DrawNode
|
||||||
|
Loading…
x
Reference in New Issue
Block a user