rtBufferSetFormat(Buffer, RT_FORMAT_INT4) bug?

Hi, I’m using Optix 3.5.1, the function rtBufferSetFormat fails if I pass “RT_FORMAT_INT4” as format, no problems with “RT_FORMAT_INT3”.

The return code, in this case, is also invalid (-1) if I use “RT_FORMAT_INT4”

I’m trying to define quad meshes (OpenGL like), so I need to use int4 as indices, no problems with triangle meshes.

Please help.

Thank you

[SOLVED] Was my fault, (call stack dirty, I’m using Delphi) sorry…