yes sorry, my fault. Maybe this could be a way around the proxy problem:
Function AdjustPixmap:TPixmap(pixmap:TPixmap) Local width=Pow2Size(pixmap.width) Local height = Pow2Size(pixmap.height) Local maxsize:Int glGetIntegerv(GL_MAX_TEXTURE_SIZE , Varptr(maxsize) ) If width > maxsize Then width = maxsize If height > maxsize Then height = maxsize If width<>pixmap.width Or height<>pixmap.height pixmap=ResizePixmap(pixmap,width,height) EndIf Return pixmap End Function