From: megacz Date: Fri, 30 Jan 2004 07:15:31 +0000 (+0000) Subject: 2003/09/12 01:22:53 X-Git-Tag: RC3~640 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=011e49b2e5c5c3a117a00c5652ab41c58448be34;p=org.ibex.core.git 2003/09/12 01:22:53 darcs-hash:20040130071531-2ba56-389502fea5aa5422712a76f826404a7865de2d61.gz --- 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;