Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

InvalidEnum on VertexBuffer Dispose on iOS

$
0
0

@henry_lisowski wrote:

Hey, I'm working on porting to iOS and I have a weird problem. I'm disposing a VertexBuffer during the draw loop, and I'm getting an InvalidEnum exception. This is the exception:

GL.GetError() returned InvalidEnum (Microsoft.Xna.Framework.Graphics.MonoGameGLException)
at Microsoft.Xna.Framework.Graphics.GraphicsExtensions.CheckGLError () [0x0002b] in <8f12f9e1612b4706b592532dafc00c25>:0
at Microsoft.Xna.Framework.Graphics.VertexBuffer.b__31_0 () [0x0000e] in <8f12f9e1612b4706b592532dafc00c25>:0
at Microsoft.Xna.Framework.Threading.BlockOnUIThread (System.Action action) [0x0001e] in <8f12f9e1612b4706b592532dafc00c25>:0
at Microsoft.Xna.Framework.Graphics.VertexBuffer.Dispose (System.Boolean disposing) [0x0000f] in <8f12f9e1612b4706b592532dafc00c25>:0
at Microsoft.Xna.Framework.Graphics.GraphicsResource.Dispose () [0x00001] in <8f12f9e1612b4706b592532dafc00c25>:0

This is on the most recent develop branch.

Any thoughts?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles