mirror of
https://github.com/ppy/osu.git
synced 2025-03-18 23:57:22 +08: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
|
||||
{
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user