aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/opengl/util/GLReadBufferUtil.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-02-16 06:39:52 +0100
committerSven Gothel <[email protected]>2015-02-16 06:39:52 +0100
commit42d88f99cfa62304943a7b37700653e627b13e61 (patch)
treec1556ac4b8ce5a6dd3325a15766b0375d722d52e /src/jogl/classes/com/jogamp/opengl/util/GLReadBufferUtil.java
parent70faf070f50ea66fd4cc8f5f586614810f378787 (diff)
Fix typo: PixelFormat.Composition.[componenCount() -> componentCount()]
.. thx to Julien Gouesse's review.
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/util/GLReadBufferUtil.java')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/util/GLReadBufferUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/util/GLReadBufferUtil.java b/src/jogl/classes/com/jogamp/opengl/util/GLReadBufferUtil.java
index c2067a9f2..cc3462f99 100644
--- a/src/jogl/classes/com/jogamp/opengl/util/GLReadBufferUtil.java
+++ b/src/jogl/classes/com/jogamp/opengl/util/GLReadBufferUtil.java
@@ -176,7 +176,7 @@ public class GLReadBufferUtil {
final int reqCompCount = hasAlpha ? 4 : 3;
final PixelFormat.Composition hostPixelComp = pixelBufferProvider.getHostPixelComp(gl.getGLProfile(), reqCompCount);
final GLPixelAttributes pixelAttribs = pixelBufferProvider.getAttributes(gl, reqCompCount, true);
- final int componentCount = pixelAttribs.pfmt.comp.componenCount();
+ final int componentCount = pixelAttribs.pfmt.comp.componentCount();
hasAlpha = 0 <= pixelAttribs.pfmt.comp.find(PixelFormat.CType.A);
final int alignment = 4 == componentCount ? 4 : 1 ;
final int internalFormat = 4 == componentCount ? GL.GL_RGBA : GL.GL_RGB;