GPU: Fix typo making RG16F use 16 bytes instead of 4

This commit is contained in:
Clément Foucault
2020-04-17 20:28:55 +02:00
parent 2fc8daff10
commit cad1ddc1e8

View File

@@ -464,7 +464,7 @@ static GLenum gpu_format_to_gl_internalformat(eGPUTextureFormat format)
case GPU_RG16I:
return GL_RG16I;
case GPU_RG16F:
return GL_RGBA32F;
return GL_RG16F;
case GPU_RG16:
return GL_RG16;
case GPU_R8UI: