mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-01-23 01:50:41 +00:00
This commit is contained in:
parent
bf5eb9f468
commit
72379149b5
1 changed files with 1 additions and 2 deletions
|
@ -5412,8 +5412,7 @@ qboolean Item_Bind_HandleKey(itemDef_t * item, int key, qboolean down)
|
||||||
|
|
||||||
void AdjustFrom640(float *x, float *y, float *w, float *h)
|
void AdjustFrom640(float *x, float *y, float *w, float *h)
|
||||||
{
|
{
|
||||||
//*x = *x * DC->scale + DC->bias;
|
*x = *x * DC->xscale + DC->bias;
|
||||||
*x *= DC->xscale + DC->bias;
|
|
||||||
*y *= DC->yscale;
|
*y *= DC->yscale;
|
||||||
*w *= DC->xscale;
|
*w *= DC->xscale;
|
||||||
*h *= DC->yscale;
|
*h *= DC->yscale;
|
||||||
|
|
Loading…
Reference in a new issue