I am having some trouble with LUA errors, I have compiled urho3d with the URHO3D_SAFE_LUA at ver 1.7.1 with luajit and I keep getting strange type errors.
I am creating render surfaces so I need to use GetRGBAFormat but I can’t use it since it reports back to me:
“GetRGBAFormat argument #1 is ‘Graphics’; ‘Graphics’ expected”
I assume this has something to do with the function being static? It worked when I disabled the safe lua flag.
Has anyone had this error before?