diff --git a/src/vrend_formats.c b/src/vrend_formats.c index e03b9b6..9f88bfc 100644 --- a/src/vrend_formats.c +++ b/src/vrend_formats.c @@ -573,7 +573,7 @@ void vrend_check_texture_storage(struct vrend_format_table *table) } } -bool vrend_check_fremabuffer_mixed_color_attachements() +bool vrend_check_framebuffer_mixed_color_attachements() { GLuint tex_id[2]; GLuint fb_id; diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c index d92f7eb..c0ea885 100644 --- a/src/vrend_renderer.c +++ b/src/vrend_renderer.c @@ -9045,7 +9045,7 @@ static void vrend_renderer_fill_caps_v2(int gl_ver, int gles_ver, union virgl_c caps->v2.capability_bits |= VIRGL_CAP_TRANSFER; - if (vrend_check_fremabuffer_mixed_color_attachements()) + if (vrend_check_framebuffer_mixed_color_attachements()) caps->v2.capability_bits |= VIRGL_CAP_FBO_MIXED_COLOR_FORMATS; /* We want to expose ARB_gpu_shader_fp64 when running on top of ES */ diff --git a/src/vrend_renderer.h b/src/vrend_renderer.h index 38f9b17..5fe540f 100644 --- a/src/vrend_renderer.h +++ b/src/vrend_renderer.h @@ -126,7 +126,7 @@ struct vrend_if_cbs { int vrend_renderer_init(struct vrend_if_cbs *cbs, uint32_t flags); void vrend_insert_format(struct vrend_format_table *entry, uint32_t bindings, uint32_t flags); -bool vrend_check_fremabuffer_mixed_color_attachements(void); +bool vrend_check_framebuffer_mixed_color_attachements(void); void vrend_insert_format_swizzle(int override_format, struct vrend_format_table *entry, uint32_t bindings, uint8_t swizzle[4], uint32_t flags);