gl renderer: Increase offscreen texture size

This fixes blurry checkbutton marks in hidpi setups, but breaks button
hover effects. That's another problem.
This commit is contained in:
Timm Bäder
2018-02-16 18:00:06 +01:00
parent 78c6f713dd
commit ad776cc57b

View File

@@ -2167,8 +2167,8 @@ add_offscreen_ops (GskGLRenderer *self,
gboolean *is_offscreen,
gboolean force_offscreen)
{
const float width = max_x - min_x;
const float height = max_y - min_y;
const float width = (max_x - min_x) * self->scale_factor;
const float height = (max_y - min_y) * self->scale_factor;
int render_target;
int prev_render_target;
RenderOp op;