Bug with latest svn version rev. 197

Archives Forums/BlitzMax Bug Reports/Bug with latest svn version rev. 197

ziggy(Posted 2009) [#1]
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.


marksibly(Posted 2009) [#2]
No sample code for me to try?

Have you rebuilt all mods etc?

Does it happen with the samples?

Etc...etc...


ziggy(Posted 2009) [#3]
No sample code for me to try?
SetGraphicsDriver GLMax2DDriver()
Graphics(800, 600)
Local image:TImage = LoadImage("fondo1.png")
DrawImage(image, 0, 0)

Have you rebuilt all mods etc?
Yes.

Does it happen with the samples?
Yes, I did test the fireworks sample before posting here, and it reproduced the issue, once the GL driver was set.


Etc...etc...
Not sure... ??? I'm running an Intel card, if that helps. If you need the media, you can test it with the fireworks demo, or get the fondo1.png file of my example code here


marksibly(Posted 2009) [#4]
Hi,

Ah, OK, Intel9xx on Vista. Sigh.

I've rolled back the latest round of GL cleanups - please try latest SVN version again.


ziggy(Posted 2009) [#5]
It works again now. Thanks!