rsx: Improve separate treatment of write exceptions vs read exceptions

- Optimizes search functionality and avoids thrashing valid sections
This commit is contained in:
kd-11 2017-10-24 13:59:46 +03:00
parent 5fc36d64b6
commit e9f293f522
5 changed files with 27 additions and 25 deletions

View file

@ -473,6 +473,7 @@ namespace gl
glBindTexture(target, id);
glPixelStorei(GL_UNPACK_ALIGNMENT, 4);
glPixelStorei(GL_UNPACK_ROW_LENGTH, 0);
glTexParameteri(target, GL_TEXTURE_BASE_LEVEL, 0);
glTexParameteri(target, GL_TEXTURE_MAX_LEVEL, mipmaps - 1);