Licson Lee
says to
YSITD
SwapBuffers(&buf);