use framebuffer size instead of #defined for texture