https://jogl.dev.java.net/issues/show_bug.cgi?id=317
Issue #|317
Summary|GLJPanel handleReshape bug
Component|jogl
Version|current
Platform|All
OS/Version|All
URL|
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|PATCH
Priority|P1
Subcomponent|jogl
Assigned to|issues jogl
Reported by|himuro
------- Additional comments from himuro dev.java.net Tue Oct 2 08:01:34 +0000 2007 -------
Hi.
I found a wrong algorithm in GLJPanel.
This code recreate pbuffer but judge algorithm is wrong.
--
[version] jogl-1.1.1-rc3
[src] GLJPanel.java
[line] 967-968
if ((panelWidth > pbufferWidth )
|| (panelHeight >
pbufferHeight) ||
(panelWidth < (pbufferWidth / shrinkFactor))
|| (panelHeight <
(pbufferWidth / shrinkFactor))) {
--
in last statement
[wrong] (panelHeight < (pbufferWidth / shrinkFactor)
[right] (panelHeight < (pbufferHeight / shrinkFactor)
Please correct source.
Thanks.
--
--------------------------------------------------
Denso IT Laboratory, Inc.
Keisuke UTO
E-mail: kuto d-itlab.co.jp
--------------------------------------------------
------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribe jogl.dev.java.net
For additional commands, e-mail: issues-help jogl.dev.java.net
|