From 4081364fa314acb24b36325a46048569a0131f3d Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Mon, 17 Jul 2006 23:23:50 +0000 Subject: [PATCH] glu: Remove redundant initialization of PixelStoreState --- .../org/lwjgl/opengl/glu/PixelStoreState.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/java/org/lwjgl/opengl/glu/PixelStoreState.java b/src/java/org/lwjgl/opengl/glu/PixelStoreState.java index bc4bdb8a..d444b932 100644 --- a/src/java/org/lwjgl/opengl/glu/PixelStoreState.java +++ b/src/java/org/lwjgl/opengl/glu/PixelStoreState.java @@ -42,14 +42,14 @@ import org.lwjgl.opengl.GL11; */ class PixelStoreState extends Util { - public int unpackRowLength = glGetIntegerv(GL11.GL_UNPACK_ROW_LENGTH); - public int unpackAlignment = glGetIntegerv(GL11.GL_UNPACK_ALIGNMENT); - public int unpackSkipRows = glGetIntegerv(GL11.GL_UNPACK_SKIP_ROWS); - public int unpackSkipPixels = glGetIntegerv(GL11.GL_UNPACK_SKIP_PIXELS); - public int packRowLength = glGetIntegerv(GL11.GL_PACK_ROW_LENGTH); - public int packAlignment = glGetIntegerv(GL11.GL_PACK_ALIGNMENT); - public int packSkipRows = glGetIntegerv(GL11.GL_PACK_SKIP_ROWS); - public int packSkipPixels = glGetIntegerv(GL11.GL_PACK_SKIP_PIXELS); + public int unpackRowLength; + public int unpackAlignment; + public int unpackSkipRows; + public int unpackSkipPixels; + public int packRowLength; + public int packAlignment; + public int packSkipRows; + public int packSkipPixels; /** * Constructor for PixelStoreState.