glGenTextures fix

Allowed GLGENTEXTURES to generate the texture the first time over
This prevents registers from getting set randomly later