Set correct tex params when creating texture for rendering.

Set tex params when creating texture for rendering to ensure correct for NPOT
before framebuffer validated. Extract and log platform GL extensions.