I have a angelscript wrapper that looks like this:
class Image {
Image(string name, float x, float y) {
@inner = MyCImage(name, x, y);
}
void draw(float t) {
inner.draw(t);
}
MyCImage @inner;
}
When i create a c++ object in my application and draw, everything is fine, but when i create a angel script object and draw via angelscript, drawing in general works, the quad shows up and if i give every vertex a color, it shows the vertex colors, but the quad is untextured.
Any idea what this could be?