error pragmas for unkown renderers
move parameter to check to c++
add extension test