X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fxwt%2Fplat%2FOpenGL.java;h=2028ceb69472af336bc849c167b6c0fca29440d7;hb=011e49b2e5c5c3a117a00c5652ab41c58448be34;hp=8f2550687ac21f5568fa9a30e769c08805c29ecb;hpb=a31ea439cbb4e49894d8384c6c69e5fe8fae5619;p=org.ibex.core.git diff --git a/src/org/xwt/plat/OpenGL.java b/src/org/xwt/plat/OpenGL.java index 8f25506..2028ceb 100644 --- a/src/org/xwt/plat/OpenGL.java +++ b/src/org/xwt/plat/OpenGL.java @@ -30,8 +30,9 @@ abstract class OpenGL { public void init() throws NotSupportedException { natInit(); float v = parseVersion(version); + // FIXME: enable linear filtering for OpenGL >= 1.2 // If we disable linear filtering (and therefor GL_CLAMP_TO_EDGE) we could probably get by with less - if(v < 1.2) throw new NotSupportedException("OpenGL 1.2 or greater is required. (you have: " + version +" - " + v + ")"); + if(v < 1.1) throw new NotSupportedException("OpenGL 1.1 or greater is required. (you have: " + version +" - " + v + ")"); if(pretendToBeACrappyVideoCard) { maxTexSize = 512; maxRectTexSize = 0;