[Bf-blender-cvs] [202623419ef] soc-2019-openxr: Use GL_NEAREST as interpolation mode for framebuffer blitting

Julian Eisel noreply at git.blender.org
Mon Mar 2 17:13:31 CET 2020


Commit: 202623419efc95b9bf61c5692c12628f4c1df286
Author: Julian Eisel
Date:   Mon Mar 2 12:41:01 2020 +0100
Branches: soc-2019-openxr
https://developer.blender.org/rB202623419efc95b9bf61c5692c12628f4c1df286

Use GL_NEAREST as interpolation mode for framebuffer blitting

===================================================================

M	intern/ghost/intern/GHOST_ContextD3D.cpp

===================================================================

diff --git a/intern/ghost/intern/GHOST_ContextD3D.cpp b/intern/ghost/intern/GHOST_ContextD3D.cpp
index dd384b26679..f9b7440f4ca 100644
--- a/intern/ghost/intern/GHOST_ContextD3D.cpp
+++ b/intern/ghost/intern/GHOST_ContextD3D.cpp
@@ -268,7 +268,7 @@ class GHOST_SharedOpenGLResource {
 
     /* No glBlitNamedFramebuffer, gotta be 3.3 compatible. */
     glBindFramebuffer(GL_READ_FRAMEBUFFER, fbo);
-    glBlitFramebuffer(0, 0, width, height, 0, 0, width, height, GL_COLOR_BUFFER_BIT, GL_LINEAR);
+    glBlitFramebuffer(0, 0, width, height, 0, 0, width, height, GL_COLOR_BUFFER_BIT, GL_NEAREST);
 
     glBindFramebuffer(GL_FRAMEBUFFER, fbo);



More information about the Bf-blender-cvs mailing list