changeset 5050:fa5f0c0d5e71

Fix RT-32846: Canvas clipping code leaves a texture locked Reviewed by: kcr, ckyang
author flar <James.Graham@oracle.com>
date Wed, 11 Sep 2013 13:28:40 -0700
parents ea718550d85f
children 74c32db7de03
files modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGCanvas.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGCanvas.java	Wed Sep 11 14:34:21 2013 -0400
+++ b/modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGCanvas.java	Wed Sep 11 13:28:40 2013 -0700
@@ -674,6 +674,7 @@
                     }
                     initClip();
                     renderClip(clippath);
+                    clip.tex.unlock();
                     clipStack.addLast(clippath);
                     break;
                 }