'drawFrame' error

so what should i add to correct the problem?