mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
[render] Fix some incorrect r_data references
The render plugins have made a bit of a mess of getting at the data and thus it's a tad confusing how to get at it in different places. Really needs a proper cleanup :(
This commit is contained in:
parent
755ef524e4
commit
ed606fb670
1 changed files with 3 additions and 3 deletions
|
@ -182,7 +182,7 @@ SCR_CalcRefdef (void)
|
|||
|
||||
R_SetVrect (&vrect, &refdef->vrect, r_data->lineadj);
|
||||
|
||||
view_setgeometry (vr_data.scr_view, refdef->vrect.x, refdef->vrect.y,
|
||||
view_setgeometry (r_data->scr_view, refdef->vrect.x, refdef->vrect.y,
|
||||
refdef->vrect.width, refdef->vrect.height);
|
||||
|
||||
// notify the refresh of the change
|
||||
|
@ -265,7 +265,7 @@ SCR_DrawRam (void)
|
|||
return;
|
||||
|
||||
//FIXME view
|
||||
r_funcs->Draw_Pic (vr_data.scr_view->xpos + 32, vr_data.scr_view->ypos,
|
||||
r_funcs->Draw_Pic (r_data->scr_view->xpos + 32, r_data->scr_view->ypos,
|
||||
scr_ram);
|
||||
}
|
||||
|
||||
|
@ -287,7 +287,7 @@ SCR_DrawTurtle (void)
|
|||
return;
|
||||
|
||||
//FIXME view
|
||||
r_funcs->Draw_Pic (vr_data.scr_view->xpos, vr_data.scr_view->ypos,
|
||||
r_funcs->Draw_Pic (r_data->scr_view->xpos, r_data->scr_view->ypos,
|
||||
scr_turtle);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue