glgsg: fix multisampling for floating-point framebuffers

This commit is contained in:
rdb 2019-01-09 22:39:05 +01:00
parent 649372d333
commit 886d44d15d

View File

@ -1181,6 +1181,8 @@ bind_slot_multisample(bool rb_resize, Texture **attach, RenderTexturePlane slot,
default:
if (_fb_properties.get_srgb_color()) {
gl_format = GL_SRGB8_ALPHA8;
} else if (_fb_properties.get_float_color()) {
gl_format = GL_RGBA32F_ARB;
} else {
gl_format = GL_RGBA;
}