Merge pull request #5100 from VinDuv/fix-texture-type-checks OGL: Fix texture_type checks in FrameBufferManager::CreateTexture