Fixed ARBFragmentProgram and ARB_vbo

This commit is contained in:
Elias Naur 2003-10-23 07:18:07 +00:00
parent 27b3d4063a
commit b00c24ef76
5 changed files with 8 additions and 9 deletions

View file

@ -41,6 +41,8 @@ package org.lwjgl.opengl.arb;
public interface ARBFragmentProgram
{
public static final int GL_FRAGMENT_PROGRAM_ARB = 0x8804;
public static final int GL_PROGRAM_FORMAT_ASCII_ARB = 0x8875;
public static final int GL_PROGRAM_LENGTH_ARB = 0x8627;
public static final int GL_PROGRAM_FORMAT_ARB = 0x8876;
public static final int GL_PROGRAM_BINDING_ARB = 0x8677;

View file

@ -202,7 +202,7 @@ public class PbufferTest {
GL.glEnd();
}
GL.glPopMatrix();
GL.glCopyTexImage2D(GL.GL_TEXTURE_2D, 0, GL.GL_RGB, 0, 0, 512, 512, 0);
GL.glCopyTexImage2D(GL.GL_TEXTURE_2D, 0, GL.GL_COMPRESSED_RGB, 0, 0, 512, 512, 0);
Pbuffer.releaseContext();
// OpenGL window rendering