mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
Added usage of OpenGL client storage extension
This improves performance significantly of 10.4
This commit is contained in:
parent
cc8d8928ae
commit
398b36064b
1 changed files with 1 additions and 0 deletions
|
@ -1375,6 +1375,7 @@ static bool s_fullscreenNewAPI;
|
|||
|
||||
glGenTextures(1, &m_softwareRenderingTexture);
|
||||
glBindTexture(GL_TEXTURE_RECTANGLE_ARB, m_softwareRenderingTexture);
|
||||
glPixelStorei(GL_UNPACK_CLIENT_STORAGE_APPLE, GL_TRUE);
|
||||
|
||||
glTexParameteri(GL_TEXTURE_RECTANGLE_ARB, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
|
||||
glTexParameteri(GL_TEXTURE_RECTANGLE_ARB, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
|
||||
|
|
Loading…
Reference in a new issue