[mono-android] Error Emulator OpenTk
niwe
laridu at web.de
Thu Jan 26 10:44:55 UTC 2012
Hi,
an error comes up when I try to run the GLCube sample on the emulator.
I/monodroid-gc( 3440): environment supports jni NewWeakGlobalRef
D/AndroidGameView( 3440): SurfaceCreated
D/gralloc_goldfish( 3440): Emulator without GPU emulation detected.
D/libEGL ( 3440): Emulator without GPU support detected. Fallback to
software renderer.
D/libEGL ( 3440): loaded /system/lib/egl/libGLES_android.so
E/libEGL ( 3440): EGLNativeWindowType 0x30d578 already connected to another
API
E/libEGL ( 3440): eglCreateWindowSurface:358 error 300b
(EGL_BAD_NATIVE_WINDOW)
E/libEGL ( 3440): eglMakeCurrent:674 error 3009 (EGL_BAD_MATCH)
E/libEGL ( 3440): eglMakeCurrent:674 error 3009 (EGL_BAD_MATCH)
I/MonoDroid( 3440): UNHANDLED EXCEPTION: System.InvalidOperationException:
egl.EglMakeCurrent failed: 0x3009
I/MonoDroid( 3440): at
OpenTK.Platform.Android.AndroidGraphicsContext.MakeCurrent
(OpenTK.Platform.IWindowInfo) <0x00134>
I/MonoDroid( 3440): at OpenTK.Platform.Utilities.CreateGraphicsContext
(OpenTK.Graphics.GraphicsMode,OpenTK.Platform.IWindowInfo,int,int,OpenTK.Graphics.GraphicsContextFlags)
<0x0006f>
I/MonoDroid( 3440): at
OpenTK.Platform.Android.AndroidGameView.CreateFrameBuffer () <0x000b7>
I/MonoDroid( 3440): at OpenTK.Platform.Android.AndroidGameView.RunIteration
() <0x0016b>
I/MonoDroid( 3440): at OpenTK.Platform.Android.RepeatTimerTask.Run ()
<0x00023>
I/MonoDroid( 3440): at Java.Util.TimerTask.n_Run (intptr,intptr) <0x00033>
I/MonoDroid( 3440): at (wrapper dynamic-method)
object.a32e2d52-b49c-4f54-9a20-61b3a8b78c42 (intptr,intptr) <0x0002b>
E/mono ( 3440):
E/mono ( 3440): Unhandled Exception: System.InvalidOperationException:
egl.EglMakeCurrent failed: 0x3009
E/mono ( 3440): at
OpenTK.Platform.Android.AndroidGraphicsContext.MakeCurrent (IWindowInfo
window) [0x00000] in <filename unknown>:0
E/mono ( 3440): at OpenTK.Platform.Utilities.CreateGraphicsContext
(OpenTK.Graphics.GraphicsMode mode, IWindowInfo window, Int32 major, Int32
minor, GraphicsContextFlags flags) [0x00000] in <filename unknown>:0
E/mono ( 3440): at
OpenTK.Platform.Android.AndroidGameView.CreateFrameBuffer () [0x00000] in
<filename unknown>:0
E/mono ( 3440): at OpenTK.Platform.Android.AndroidGameView.RunIteration
() [0x00000] in <filename unknown>:0
E/mono ( 3440): at OpenTK.Platform.Android.RepeatTimerTask.Run ()
[0x00000] in <filename unknown>:0
E/mono ( 3440): at Java.Util.TimerTask.n_Run (IntPtr jnienv, IntPtr
native__this) [0x00000] in <filename unknown>:0
E/mono ( 3440): at (wrapper dynamic-method)
object:a32e2d52-b49c-4f54-9a20-61b3a8b78c42 (intptr,intptr)
Does anyone has an idea why?
best regards
--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/Error-Emulator-OpenTk-tp5432528p5432528.html
Sent from the Mono for Android mailing list archive at Nabble.com.
More information about the Monodroid
mailing list