Updated test to be compatible with r3664

This commit is contained in:
Brian Matzon 2011-10-12 19:49:45 +00:00
parent d52a8bce90
commit bae1672baf
1 changed files with 2 additions and 2 deletions

View File

@ -45,10 +45,10 @@ import org.lwjgl.BufferUtils;
import org.lwjgl.Sys;
import org.lwjgl.input.Keyboard;
import org.lwjgl.input.Mouse;
import org.lwjgl.opengl.ContextType;
import org.lwjgl.opengl.Display;
import org.lwjgl.opengl.DisplayMode;
import org.lwjgl.opengles.GLContext;
import org.lwjgl.opengles.PixelFormat;
import java.nio.ByteBuffer;
import java.nio.FloatBuffer;
@ -86,7 +86,7 @@ public final class MappedIndexedVBOTest {
static {
try {
Display.create(ContextType.GLES);
Display.create(new PixelFormat());
System.out.println("Created OpenGL.");
if ( !GLContext.getCapabilities().GL_OES_mapbuffer ) {