| 1253 | } |
| 1254 | |
| 1255 | void EndFrame() { |
| 1256 | //@@Frame_inside = false; |
| 1257 | rend_EndFrame(); |
| 1258 | |
| 1259 | // pop off frame |
| 1260 | int x1, x2, y1, y2; |
| 1261 | bool clear; |
| 1262 | |
| 1263 | FramePop(&x1, &y1, &x2, &y2, &clear); // pop off frame just ending |
| 1264 | |
| 1265 | // see if there is a frame on the stack...if so, restore it's settings |
| 1266 | if (FramePeek(&x1, &y1, &x2, &y2, &clear)) { |
| 1267 | // restore this frame |
| 1268 | StartFrame(x1, y1, x2, y2, clear, false); |
| 1269 | } |
| 1270 | } |
| 1271 | |
| 1272 | // Does a screenshot and tells the bitmap lib to save out the picture as a tga |
| 1273 | void DoScreenshot() { |
no test coverage detected