projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5358cc3
)
Clean up hard-coded hidpi scale factor in debug codepath
author
Omari Stephens
<xsdg@xsdg.org>
Mon, 29 Apr 2024 18:11:51 +0000
(18:11 +0000)
committer
Colin Clark
<colin.clark@cclark.uk>
Tue, 30 Apr 2024 09:12:11 +0000
(10:12 +0100)
src/renderer-tiles.cc
patch
|
blob
|
history
diff --git
a/src/renderer-tiles.cc
b/src/renderer-tiles.cc
index
ff3e5df
..
0ab5c27
100644
(file)
--- a/
src/renderer-tiles.cc
+++ b/
src/renderer-tiles.cc
@@
-1167,7
+1167,7
@@
static gboolean rt_source_tile_render(RendererTiles *rt, ImageTile *it,
#if 0
// Draws red over draw region, to check for leaks (regions not filled)
- pixbuf_set_rect_fill(it->pixbuf, x, y,
2*w, 2*
h, 255, 0, 0, 255);
+ pixbuf_set_rect_fill(it->pixbuf, x, y,
rt->hidpi_scale * w, rt->hidpi_scale *
h, 255, 0, 0, 255);
#endif
// Since the RendererTiles ImageTiles and PixbufRenderer SourceTiles are different