mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-31 04:20:34 +00:00
- Changed buffer type for OpenGLSWFrameBuffer to use GL_STREAM_DRAW and a memcpy from system memory on non Nvidia GPUs.
This commit is contained in:
parent
b94801b994
commit
b3e2a8ab7f
1 changed files with 1 additions and 1 deletions
|
@ -783,7 +783,7 @@ void OpenGLSWFrameBuffer::Present()
|
|||
|
||||
void OpenGLSWFrameBuffer::SetInitialState()
|
||||
{
|
||||
if (gl.es) UseMappedMemBuffer = false;
|
||||
if (gl.es || strstr(gl.vendorstring, "NVIDIA") == NULL) UseMappedMemBuffer = false;
|
||||
|
||||
AlphaBlendEnabled = false;
|
||||
AlphaBlendOp = GL_FUNC_ADD;
|
||||
|
|
Loading…
Reference in a new issue