I just removed all pointer stuff like you suggested, I thought maybe that was the root of the probelem. But still the src1 is copied. The wierd thing is that blending works in the other functions. IE; if you apply several operations on a texture like Pixel, Gradient etc. it combines them given that your operator is set to 1.

EDIT: I found the problem.. ops: omg am I stupid or what? The textures are created with a script read from a string array that goes like this:

SelectTexture(0)
Pixel(0)
CreateTexture

etc.

The combine command, looks like this Combine(src1,Src2) the problem was I forgot to register the second parameter in the command parser.. ops: