CMaterial::DrawElements: No bound shader

my material that i’m drawing with DrawTexturedRectRotated randomly stops drawing, and the console is spammed with
CMaterial::DrawElements: No bound shader
every frame.

Do you have any idea what the problem is? It draws fine sometimes and then stops drawing.

Still need answer.

http://www.facepunch.com/showthread.php?t=504918