glgsg: fix multisampling for floating-point framebuffers
This commit is contained in:
parent
649372d333
commit
886d44d15d
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue