[mono-android] Handling texture loss in OpenTK on mono for android

Andreia Gaita shana at xamarin.com
Mon Dec 5 17:59:47 EST 2011


Hi Chris,

On Mon, Dec 5, 2011 at 10:43 PM, chris at Terrago <cdrake at terragotech.com>wrote:

> Thanks for the clarification. I rechecked it and you are correct. You do
> get
> an OnLoad event after the pause, however you do not get an onResume event
> and the graphics context is null.


Hmmm, ok, thanks for testing, I'll see what's going on there. What api
level/android version are you testing on, btw?

andreia gaita


> For some reason this only occurs on
> rotation and sleep, if the activity is paused because another activity is
> becoming active then the context is recreated successfully upon resuming
> the
> activity hosting the AndroidGameView.
>
> Chris
>
> --
> View this message in context:
> http://mono-for-android.1047100.n5.nabble.com/Handling-texture-loss-in-OpenTK-on-mono-for-android-tp5045738p5050387.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodroid/attachments/20111205/94ab955f/attachment.html 


More information about the Monodroid mailing list