errors while drawing in immediate mode to render texture
I draw to render texture in immediate mode as shown in the sample.
I get a lot of error prints to the console similar to this one:
Screen position out of view frustum (screen pos 0.000000, 0.000000, 1000.000000) (Camera rect 0 0 384 207)
any suggestion on how to avoid this?