Fix T74019 Eevee High Quality Normals causing pitch black faces

Was due to a mistake when removing previous code...
This commit is contained in:
Clément Foucault
2020-02-20 00:13:48 +01:00
parent 67cbce0b02
commit 0c01ad9300

View File

@@ -1839,8 +1839,8 @@ static const MeshExtract extract_uv = {
static void extract_tan_ex(const MeshRenderData *mr, GPUVertBuf *vbo, const bool do_hq)
{
GPUVertCompType comp_type = do_hq ? GPU_COMP_F32 : GPU_COMP_I10;
GPUVertFetchMode fetch_mode = do_hq ? GPU_FETCH_FLOAT : GPU_FETCH_INT_TO_FLOAT_UNIT;
GPUVertCompType comp_type = do_hq ? GPU_COMP_I16 : GPU_COMP_I10;
GPUVertFetchMode fetch_mode = GPU_FETCH_INT_TO_FLOAT_UNIT;
GPUVertFormat format = {0};
GPU_vertformat_deinterleave(&format);