Fix a regression that broke drawing of images below non-default cell backgrounds
Fixes #6061
This commit is contained in:
parent
6d73306198
commit
66804dafe8
@ -50,6 +50,8 @@ Detailed list of changes
|
|||||||
|
|
||||||
- Linux: Reduce minimum required OpenGL version from 3.3 to 3.1 + extensions (:iss:`2790`)
|
- Linux: Reduce minimum required OpenGL version from 3.3 to 3.1 + extensions (:iss:`2790`)
|
||||||
|
|
||||||
|
- Fix a regression that broke drawing of images below cell backgrounds (:iss:`6061`)
|
||||||
|
|
||||||
- macOS: Fix the window buttons not being hidden after exiting the traditional full screen (:iss:`6009`)
|
- macOS: Fix the window buttons not being hidden after exiting the traditional full screen (:iss:`6009`)
|
||||||
|
|
||||||
- When reloading configuration, also reload custom MIME types from :file:`mime.types` config file (:pull:`6012`)
|
- When reloading configuration, also reload custom MIME types from :file:`mime.types` config file (:pull:`6012`)
|
||||||
|
|||||||
@ -772,9 +772,9 @@ draw_cells_interleaved(ssize_t vao_idx, ssize_t gvao_idx, Screen *screen, OSWind
|
|||||||
draw_window_logo(vao_idx, w, wl, crd);
|
draw_window_logo(vao_idx, w, wl, crd);
|
||||||
BLEND_ONTO_OPAQUE;
|
BLEND_ONTO_OPAQUE;
|
||||||
}
|
}
|
||||||
bind_program(CELL_BG_PROGRAM);
|
|
||||||
if (screen->grman->num_of_below_refs) draw_graphics(
|
if (screen->grman->num_of_below_refs) draw_graphics(
|
||||||
GRAPHICS_PROGRAM, vao_idx, gvao_idx, screen->grman->render_data, 0, screen->grman->num_of_below_refs);
|
GRAPHICS_PROGRAM, vao_idx, gvao_idx, screen->grman->render_data, 0, screen->grman->num_of_below_refs);
|
||||||
|
bind_program(CELL_BG_PROGRAM);
|
||||||
// draw background for non-default bg cells
|
// draw background for non-default bg cells
|
||||||
glUniform1ui(cell_program_layouts[CELL_BG_PROGRAM].draw_bg_bitfield_location, 2);
|
glUniform1ui(cell_program_layouts[CELL_BG_PROGRAM].draw_bg_bitfield_location, 2);
|
||||||
glDrawArraysInstanced(GL_TRIANGLE_FAN, 0, 4, screen->lines * screen->columns);
|
glDrawArraysInstanced(GL_TRIANGLE_FAN, 0, 4, screen->lines * screen->columns);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user