Example #1
0
 def test_lookupint( self ):
     from OpenGL.raw.GL import _lookupint 
     l = _lookupint.LookupInt( GL_NUM_COMPRESSED_TEXTURE_FORMATS, GLint )
     result = int(l)
     if not os.environ.get('TRAVIS'):
         assert result, "No compressed textures on this platform? that seems unlikely"
     else:
         assert not result, "Travis xvfb doesn't normally have compressed textures, possible upgrade?"
Example #2
0
 def test_lookupint(self):
     from OpenGL.raw.GL import _lookupint 
     if GLQuerier.pullVersion() < [2]:
         return
     l = _lookupint.LookupInt(GL_NUM_COMPRESSED_TEXTURE_FORMATS, GLint)
     result = int(l)
     if not os.environ.get("TRAVIS"):
         assert result, "No compressed textures on this platform? that seems unlikely"
     else:
         "Travis xvfb doesn"t normally have compressed textures, possible upgrade?"
Example #3
0
 def test_lookupint(self):
     from OpenGL.raw.GL import _lookupint
     l = _lookupint.LookupInt(GL_NUM_COMPRESSED_TEXTURE_FORMATS, GLint)
     result = int(l)
     assert result, "No compressed textures on this platform? that seems unlikely"