gpuUploadImageToTexture now sets width and height fields of GPUTexture struct.