Usermode - Build fixes (slight ones)
[tpg/acess2.git] / Usermode / Applications / axwin2_src / WM / video.c
index 39ba1e5..b57b8c7 100644 (file)
@@ -14,6 +14,8 @@ void  Video_FillRect(short X, short Y, short W, short H, uint32_t Color);
 void   Video_DrawRect(short X, short Y, short W, short H, uint32_t Color);
 
 // === GLOBALS ===
+ int   giVideo_CursorX;
+ int   giVideo_CursorY;
 
 // === CODE ===
 void Video_Setup(void)
@@ -65,7 +67,7 @@ void Video_Update(void)
 {
        //seek(giTerminalFD, 0, SEEK_SET);
        seek(giTerminalFD, 0, 1);
-       write(giTerminalFD, giScreenWidth*giScreenHeight*4, gpScreenBuffer);
+       write(giTerminalFD, gpScreenBuffer, giScreenWidth*giScreenHeight*4);
 }
 
 void Video_FillRect(short X, short Y, short W, short H, uint32_t Color)

UCC git Repository :: git.ucc.asn.au