changeset 9259:705c90b4d54d

8136495: On es2 pipe, SceneAntialiasing.BALANCED flips scene affecting Mac and Linux platforms. Reviewed-by: flar, kcr
author Chien Yang <chien.yang@oracle.com>
date Fri, 18 Sep 2015 07:03:26 -0700
parents aa51df7e1d41
children 61c180bd4744
files modules/graphics/src/main/java/com/sun/prism/es2/ES2SwapChain.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/java/com/sun/prism/es2/ES2SwapChain.java	Fri Sep 18 16:16:07 2015 +0300
+++ b/modules/graphics/src/main/java/com/sun/prism/es2/ES2SwapChain.java	Fri Sep 18 07:03:26 2015 -0700
@@ -134,9 +134,9 @@
                 copyFullBuffer = false;
                 if (isMSAA()) {
                     context.flushVertexBuffer();
-                    // Note must flip the z axis during blit
+                    // Note must flip the image vertically during blit
                     g.blit(stableBackbuffer, null,
-                            0, 0, sw, sh, 0, 0, dw, dh);
+                            0, 0, sw, sh, 0, dh, dw, 0);
                 } else {
                     drawTexture(g, stableBackbuffer,
                                 0, 0, dw, dh, 0, 0, sw, sh);