We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 109d8e1 commit e6794aeCopy full SHA for e6794ae
2 files changed
src/gov/nasa/worldwind/render/DrawContextImpl.java
@@ -171,12 +171,12 @@ public final GLContext getGLContext()
171
172
public final int getDrawableHeight()
173
{
174
- return this.getGLDrawable().getHeight();
+ return this.getGLDrawable().getSurfaceHeight();
175
}
176
177
public final int getDrawableWidth()
178
179
- return this.getGLDrawable().getWidth();
+ return this.getGLDrawable().getSurfaceWidth();
180
181
182
public final GLDrawable getGLDrawable()
src/gov/nasa/worldwind/render/TextRenderer.java
@@ -1951,7 +1951,6 @@ public void run() {
1951
1952
@Override
1953
public void dispose(GLAutoDrawable drawable) {
1954
- glu.destroy();
1955
glu=null;
1956
frame=null;
1957
0 commit comments