- 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:
drfrag666 2018-07-19 18:05:13 +02:00
parent b94801b994
commit b3e2a8ab7f

View file

@ -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;