• Henri Verbeet's avatar
    d3d9: Use more reasonable texture dimensions. · 5780b9b5
    Henri Verbeet authored
    caps.MaxTextureWidth / caps.MaxTextureHeight can potentially be very
    large, which could cause a driver to run out of memory. Arguably the
    driver shouldn't report such large limits, but there's no reason for
    us to create a texture larger than 1024x1024 either.
    5780b9b5
visual.c 515 KB