sonnykr
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2015
08:30 AM
Re: roTextureRequestEvent getBitmap() fails
That's true, I never expected calling GetBitmap() multiple times would cause a crash. May be this should be added to the documentation. Especially since it causes Roku to restart.


Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2015
10:24 AM
Re: roTextureRequestEvent getBitmap() fails
"sonnykr" wrote:
That's true, I never expected calling GetBitmap() multiple times would cause a crash. May be this should be added to the documentation. Especially since it causes Roku to restart.
Issue confirmed. Thanks for the bug report.
sonnykr
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2015
11:39 AM
Re: roTextureRequestEvent getBitmap() fails
"RokuKC" wrote:"sonnykr" wrote:
That's true, I never expected calling GetBitmap() multiple times would cause a crash. May be this should be added to the documentation. Especially since it causes Roku to restart.
Issue confirmed. Thanks for the bug report.
Oh cool. Thanks RokuKC!
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2015
04:53 PM
Re: roTextureRequestEvent getBitmap() fails
"TheEndless" wrote:
Interesting.. you're calling GetBitmap() three times in that code, and it doesn't blow up until the last one. I wouldn't expect it to ...
In practice it was getting called only 2x - because of the short-circuiting of the OR - so it was bombing on the 2nd call to getBitmap(). It would be disconcerting if it was err-ing on the 3rd call but now is just a regular bug, phew 8-)
Also, i don't think there is type()="bitmap" ever, is there? I trust when getBitmap() <> invalid, it's always roBitmap.
- « Previous
-
- 1
- 2
- Next »