Mirroed textures problem

BlitzMax Forums/MiniB3D Module/Mirroed textures problem

Sanctus(Posted 2007) [#1]
Hi.
I use MiniB3dext 0.31... I'd change to the new one but It doesn't work on my project.
Anyway... I'm trying to make a Map-Editor.
I'm having the standard texture the checkers... then I create a plane. The texture is automaticaly aplied to the plane. If I'm trying to rise or to lower some vertices the map is updated by drawing an oval on it(that tryes to show the selection). But here is the problem. When I move the mouse over the plane so that the map is updated with the oval in the right place it flickers with the same map but mirroed.
Here is the code for the update of the map:
Cls
SetColor 255,255,255
DrawImage obj_tex.img,0,0
SetBlend(SOLIDBLEND)
SetAlpha 0.5
SetColor 255,0,0
Plot PickedU()*obj_tex.sizex,obj_tex.sizey-PickedV()*obj_tex.sizey
BackBufferToTex(obj_tex.tex)