[PATCH 10/11] spicec: disable stencil test with primary fbo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 client/x11/platform.cpp      | 2 +-
 client/x11/red_pixmap_gl.cpp | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/client/x11/platform.cpp b/client/x11/platform.cpp
index 475ee6a..b8563b3 100644
--- a/client/x11/platform.cpp
+++ b/client/x11/platform.cpp
@@ -3231,7 +3231,7 @@ void Platform::init()
             GLX_GREEN_SIZE, 8,
             GLX_BLUE_SIZE, 8,
             GLX_ALPHA_SIZE, 8,
-            GLX_STENCIL_SIZE, 4,
+            GLX_STENCIL_SIZE, 0,
             GLX_DEPTH_SIZE, 0,
             None
         };
diff --git a/client/x11/red_pixmap_gl.cpp b/client/x11/red_pixmap_gl.cpp
index 1a58628..7978a40 100644
--- a/client/x11/red_pixmap_gl.cpp
+++ b/client/x11/red_pixmap_gl.cpp
@@ -246,6 +246,7 @@ void RedPixmapGL::pre_copy()
     glDisable(GL_BLEND);
     glDisable(GL_ALPHA_TEST);
     glDisable(GL_COLOR_LOGIC_OP);
+    glDisable(GL_STENCIL_TEST);
 
     glColor3f(1, 1, 1);
 }
-- 
1.8.3.1

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]