I'm getting a strange unhandled exception when drawing an image using OpenGL, but it works ok with DX.
The bug I get this this one:
Unhandled Exception:Unable to calculate tex size
The location of the exception is:
Function AdjustTexSize( width Var,height Var )in glmax2d,
wich is called from:
Function CreateFromPixmap:TGLImageFrame( src:TPixmap,flags ) in the same file, wich is at the same time called by the method:
CreateFrameFromPixmap, of the TGLMax2DDriver class
wich is also called by the method Frame, of the TImage object,
wich is obviously called by DrawImage.
I can't thing of any additional information to provide. Hope it helps.
The bug I get this this one:
Unhandled Exception:Unable to calculate tex size
The location of the exception is:
Function AdjustTexSize( width Var,height Var )in glmax2d,
wich is called from:
Function CreateFromPixmap:TGLImageFrame( src:TPixmap,flags ) in the same file, wich is at the same time called by the method:
CreateFrameFromPixmap, of the TGLMax2DDriver class
wich is also called by the method Frame, of the TImage object,
wich is obviously called by DrawImage.
I can't thing of any additional information to provide. Hope it helps.