SHARE
TWEET

Error - Running OpenGL ES example

wattale Jul 26th, 2013 51 Never
  1. Launching sample: "Simple ES 2.0"
  2.  
  3. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> OpenTK.Graphics.GraphicsContextException: [Error] Failed to create EGL window surface, error 12293.
  4.   at OpenTK.Platform.Egl.EglWindowInfo.CreateWindowSurface (IntPtr config) [0x00000] in <filename unknown>:0
  5.   at OpenTK.Platform.Egl.EglContext..ctor (OpenTK.Graphics.GraphicsMode mode, OpenTK.Platform.Egl.EglWindowInfo window, IGraphicsContext sharedContext, Int32 major, Int32 minor, GraphicsContextFlags flags) [0x00000] in <filename unknown>:0
  6.   at OpenTK.Platform.Egl.EglX11PlatformFactory.CreateGLContext (OpenTK.Graphics.GraphicsMode mode, IWindowInfo window, IGraphicsContext shareContext, Boolean directRendering, Int32 major, Int32 minor, GraphicsContextFlags flags) [0x00000] in <filename unknown>:0
  7.   at OpenTK.Graphics.GraphicsContext..ctor (OpenTK.Graphics.GraphicsMode mode, IWindowInfo window, Int32 major, Int32 minor, GraphicsContextFlags flags) [0x00000] in <filename unknown>:0
  8.   at OpenTK.GameWindow..ctor (Int32 width, Int32 height, OpenTK.Graphics.GraphicsMode mode, System.String title, GameWindowFlags options, OpenTK.DisplayDevice device, Int32 major, Int32 minor, GraphicsContextFlags flags, IGraphicsContext sharedContext) [0x00000] in <filename unknown>:0
  9.   --- End of inner exception stack trace ---
  10.   at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  11.   at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
  12.   at Examples.ExampleBrowser+<>c__DisplayClass2.<RunSample>b__0 () [0x00000] in <filename unknown>:0
RAW Paste Data
Top