From 96cfb635bef9e156f1c304e7f68b4bf0eeead891 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 20 Sep 2008 19:54:44 +0000 Subject: Add a dest_buffer pointer for the v_video code, and V_UseBuffer to allow that to be temporarily changed. Make V_DrawBlock always draw to the screen. Subversion-branch: /branches/raven-branch Subversion-revision: 1246 --- src/v_video.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'src/v_video.h') diff --git a/src/v_video.h b/src/v_video.h index 5312619a..969024c9 100644 --- a/src/v_video.h +++ b/src/v_video.h @@ -76,14 +76,8 @@ V_DrawPatchDirect // Draw a linear block of pixels into the view buffer. -void -V_DrawBlock -( int x, - int y, - int scrn, - int width, - int height, - byte* src ); + +void V_DrawBlock(int x, int y, int width, int height, byte *src); // Reads a linear block of pixels into the view buffer. void @@ -105,6 +99,7 @@ V_MarkRect void V_ScreenShot(void); +void V_UseBuffer(byte *buffer); void V_RestoreBuffer(void); #endif -- cgit v1.2.3