mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Scale the glsl crosshairs to match gl.
This commit is contained in:
parent
f71affdfba
commit
cb259823af
1 changed files with 2 additions and 2 deletions
|
@ -535,8 +535,8 @@ draw_crosshair_pic (int ch, int x, int y)
|
||||||
};
|
};
|
||||||
const int *p = pos[ch - 1];
|
const int *p = pos[ch - 1];
|
||||||
|
|
||||||
draw_pic (x - CROSSHAIR_WIDTH / 2, y - CROSSHAIR_HEIGHT / 2,
|
draw_pic (x - CROSSHAIR_WIDTH + 1, y - CROSSHAIR_HEIGHT + 1,
|
||||||
CROSSHAIR_WIDTH, CROSSHAIR_HEIGHT, crosshair_pic,
|
CROSSHAIR_WIDTH * 2, CROSSHAIR_HEIGHT * 2, crosshair_pic,
|
||||||
p[0], p[1], p[2], p[3], crosshair_color);
|
p[0], p[1], p[2], p[3], crosshair_color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue