Add missing initialization.

Buffer, render buffer and texture should be filled with data before used.