From 3bde7326de00e59dcd6fe4b613636495b1b32818 Mon Sep 17 00:00:00 2001 From: "jul..om" Date: Sat, 17 Nov 2012 00:38:57 +0000 Subject: [PATCH] Fixes a spelling mistake in the creation of the offscreen buffer git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10001 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/jogl/com/jme3/system/jogl/JoglOffscreenBuffer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/jogl/com/jme3/system/jogl/JoglOffscreenBuffer.java b/engine/src/jogl/com/jme3/system/jogl/JoglOffscreenBuffer.java index a4dcaddb2..006334bf8 100644 --- a/engine/src/jogl/com/jme3/system/jogl/JoglOffscreenBuffer.java +++ b/engine/src/jogl/com/jme3/system/jogl/JoglOffscreenBuffer.java @@ -75,7 +75,7 @@ public class JoglOffscreenBuffer extends JoglContext implements Runnable { caps.setSampleBuffers(true); caps.setNumSamples(samples); - offscreenDrawable = GLDrawableFactory.getFactory(GLProfile.getMaxFixedFunc(true)).createOffscreenAutoDrawable(null, caps, null, width, width, null); + offscreenDrawable = GLDrawableFactory.getFactory(GLProfile.getMaxFixedFunc(true)).createOffscreenAutoDrawable(null, caps, null, width, height, null); offscreenDrawable.display();