Working on releasing a game using MonoGame and running into an issue for Mono
Android 4.0.6 (which we need for the new changes) and the original Droid. 
Works great on my Droid Razer Maxx.  We're creating with ES 1.1 but tried
with 2.0 and it still failed.  It worked with 4.0.4 and maybe 4.0.5.

$exception {OpenTK.Platform.Android.EglException: EglCreateWindowSurface
failed with error 12288 (0x3000)
at OpenTK.Platform.Android.AndroidWindow.CreateSurface
(Javax.Microedition.Khronos.Egl.EGLConfig) [0x00058] in
/home/jpobst/Desktop/mfa-406/OpenGLES/OpenTK/Platform/Android/AndroidGraphicsContext.cs:338
at OpenTK.Platform.Android.AndroidGraphicsContext.Init
(OpenTK.Graphics.GraphicsMode,OpenTK.Platform.IWindowInfo,OpenTK.Graphics.IGraphicsContext,OpenTK.Graphics.GLContextVersion,OpenTK.Graphics.GraphicsContextFlags)
[0x0013e] in
/home/jpobst/Desktop/mfa-406/OpenGLES/OpenTK/Platform/Android/AndroidGraphicsContext.cs:132
at OpenTK.Platform.Android.AndroidGraphicsContext..ctor
(OpenTK.Graphics.GraphicsMode,OpenTK.Platform.IWindowInfo,OpenTK.Graphics.IGraphicsContext,OpenTK.Graphics.GLContextVersion,OpenTK.Graphics.GraphicsContextFlags)
[0x00006] in
/home/jpobst/Desktop/mfa-406/OpenGLES/OpenTK/Platform/Android/AndroidGraphicsContext.cs:83
at OpenTK.Platform.Android.AndroidGraphicsContext.CreateGraphicsContext
(OpenTK.Graphics.GraphicsMode,OpenTK.Platform.IWindowInfo,OpenTK.Graphics.IGraphicsContext,OpenTK.Graphics.GLContextVersion,OpenTK.Graphics.GraphicsContextFlags)
[0x00000] in
/home/jpobst/Desktop/mfa-406/OpenGLES/OpenTK/Platform/Android/AndroidGraphicsContext.cs:44
at OpenTK.Platform.Android.AndroidGameView.CreateContext () [0x00000] in
/home/jpobst/Desktop/mfa-406/OpenGLES/OpenTK/Platform/Android/AndroidGameView.cs:307
at OpenTK.Platform.Android.AndroidGameView.CreateFrameBuffer () [0x00000] in
/home/jpobst/Desktop/mfa-406/OpenGLES/OpenTK/Platform/Android/AndroidGameView.cs:158
at Microsoft.Xna.Framework.AndroidGameWindow.StartES1_1 () [0x00014] in
C:\FlatRedBallProjects\Engines\FlatRedBallMonoDroid\MonoGame\MonoGame.Framework\Android\AndroidGameWindow.cs:173
at Microsoft.Xna.Framework.AndroidGameWindow.CreateFrameBuffer () [0x00017]
in
C:\FlatRedBallProjects\Engines\FlatRedBallMonoDroid\MonoGame\MonoGame.Framework\Android\AndroidGameWindow.cs:142
at OpenTK.Platform.Android.AndroidGameView.LoadInternal (System.EventArgs)
[0x00000] in
/home/jpobst/Desktop/mfa-406/OpenGLES/OpenTK/Platform/Android/AndroidGameView.cs:234
at OpenTK.Platform.Android.AndroidGameView.SurfaceCreated
(Android.Views.ISurfaceHolder) [0x0005d] in
/home/jpobst/Desktop/mfa-406/OpenGLES/OpenTK/Platform/Android/AndroidGameView.cs:104
at
Android.Views.ISurfaceHolderCallbackInvoker.n_SurfaceCreated_Landroid_view_SurfaceHolder_
(intptr,intptr,intptr) [0x00010] in
/home/jpobst/Desktop/mfa-406/Mono.Android/platforms/android-8/src/generated/Android.Views.ISurfaceHolder.cs:157
at (wrapper dynamic-method) object.214f6539-d42d-4b64-8ea7-8b7d860d8ef1
(intptr,intptr,intptr) <IL 0x00012, 0x00033>
} OpenTK.Platform.Android.EglException

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Create-Surface-Failure-tp5677463.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to