From 15dcf07b3b0f7ee7f8e53dc2546c3ee9493bbd7a Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Wed, 22 Apr 2015 00:32:46 +0200 Subject: [PATCH] revert previous commit Not better, worst slower. I'm afraid I will need proper fencing --- plugins/GSdx/GSTextureOGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/GSdx/GSTextureOGL.cpp b/plugins/GSdx/GSTextureOGL.cpp index 0501753c6e..5dcb7bc23a 100644 --- a/plugins/GSdx/GSTextureOGL.cpp +++ b/plugins/GSdx/GSTextureOGL.cpp @@ -44,7 +44,7 @@ namespace PboPool { // XXX: actually does I really need coherent and barrier??? // As far as I understand glTexSubImage2D is a client-server transfer so no need to make // the value visible to the server - const GLbitfield map_flags = GL_MAP_WRITE_BIT | GL_MAP_PERSISTENT_BIT | GL_MAP_COHERENT_BIT; + const GLbitfield map_flags = GL_MAP_WRITE_BIT | GL_MAP_PERSISTENT_BIT /*| GL_MAP_COHERENT_BIT*/; // FIXME do I need GL_DYNAMIC_STORAGE_BIT to allow write? const GLbitfield create_flags = map_flags /*| GL_DYNAMIC_STORAGE_BIT*/ | GL_CLIENT_STORAGE_BIT; #endif