Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle big size image #1564

Merged
merged 3 commits into from Oct 16, 2017
Merged

Handle big size image #1564

merged 3 commits into from Oct 16, 2017

Commits on Oct 16, 2017

  1. Skip the request and return a invalid CacheItem for the over-size-lim…

    …it image request.
    
    WR can't handle the image request if it's bigger than the hardware limit. Please check texture_cache::max_texture_size().
    
    Skip the image request for a big size image in resource_cache::request_image().
    Return an Err() for a big size image in resource_cache::get_cached_image().
    JerryShih committed Oct 16, 2017
  2. Remove the old comment for prepare_prim_for_render().

    JerryShih committed Oct 16, 2017
You can’t perform that action at this time.