Update render.c

updated for east.