Rename tempBuffer to menuoffbuffer

In general, "temp" is a bad name because it could mean anything. In this
case the buffer isn't really temporary and it's only used for drawing
the menu with a certain offset, so I made it use a better name. But also
because I'm going to be adding temporary buffers so I don't want the
names to be confused.
This commit is contained in:
Misa
2023-01-02 11:19:08 -08:00
parent 0a51141720
commit e5d32c653b
4 changed files with 8 additions and 8 deletions

View File

@@ -1961,7 +1961,7 @@ void gamerender(void)
graphics.cutscenebars();
graphics.drawfade();
BlitSurfaceStandard(graphics.backBuffer, NULL, graphics.tempBuffer, NULL);
BlitSurfaceStandard(graphics.backBuffer, NULL, graphics.menuoffbuffer, NULL);
graphics.drawgui();
if (graphics.flipmode)