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

#853 Try to improve size of receiving buffer for glGetTexImage. #858

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 18, 2023

  1. Try to improve size of receiving buffer for glGetTexImage.

    1) Request maximum texture dimensions proeprly depending on texture type.
    2) Cap total size by 1 GB on 32-bit and 4 GB on 64-bit.
    
    Note: in case of NVIDIA driver, GL_MAX_TEXTURE_SIZE = 32K, so 4 GB cap is always used anyway.
    sgatilov authored and stgatilov committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    15eed7e View commit details
    Browse the repository at this point in the history