Thanks Charles. This is pretty conservative at 2048, so I don't suspect there should be any trouble. Especially since it automatically defaults down if necessary. In the future, after more solidly defining system requirements for pyglet, this can be revisited and raised if useful. I'm still not 100% sure on the automatically rounding down part though. I think the pyglet.resource module should definitely check the max_size and round down if necessary, but should the base TextureAtlas/Bin classes do it as well? It could be better to just raise a proper exception.
Having them automatically round down might help in cases where you're shipping your app to a user with a less capable machine. It could still run instead of just crashing. On the other hand, It's not always a great idea from an API standpoint to return something other than what you are requesting. -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscr...@googlegroups.com. To post to this group, send email to pyglet-users@googlegroups.com. Visit this group at https://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.