forked from pool/scirenderer
Moving some scilab deps to Java:packages OBS-URL: https://build.opensuse.org/request/show/231100 OBS-URL: https://build.opensuse.org/package/show/Java:packages/scirenderer?expand=0&rev=1
15 lines
783 B
Diff
15 lines
783 B
Diff
Index: scirenderer-1.1.0/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCanvas.java
|
|
===================================================================
|
|
--- scirenderer-1.1.0.orig/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCanvas.java 2013-03-28 17:25:15.000000000 +0100
|
|
+++ scirenderer-1.1.0/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCanvas.java 2013-07-02 18:40:25.000000000 +0200
|
|
@@ -254,7 +254,8 @@
|
|
|
|
boolean needFlip;
|
|
try {
|
|
- needFlip = !((GLContextImpl) context).offscreenImageNeedsVerticalFlip();
|
|
+// needFlip = !((GLContextImpl) context).offscreenImageNeedsVerticalFlip();
|
|
+ needFlip = !autoDrawable.isGLOriented();
|
|
} catch (GLException e) {
|
|
needFlip = false;
|
|
}
|