浏览代码

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
jul..om 13 年之前
父节点
当前提交
3bde7326de
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      engine/src/jogl/com/jme3/system/jogl/JoglOffscreenBuffer.java

+ 1 - 1
engine/src/jogl/com/jme3/system/jogl/JoglOffscreenBuffer.java

@@ -75,7 +75,7 @@ public class JoglOffscreenBuffer extends JoglContext implements Runnable {
         caps.setSampleBuffers(true);
         caps.setSampleBuffers(true);
         caps.setNumSamples(samples);
         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();
         offscreenDrawable.display();