Added basic 2D video accelleration
[tpg/acess2.git] / Usermode / Applications / axwin2_src / WM / interface.c
index 36e0124..4d22b50 100644 (file)
@@ -4,12 +4,17 @@
  */
 #include "common.h"
 
+// === GLOBALS ==
+ int   giInterface_Width = 0;
+
 // === CODE ===
 void Interface_Render(void)
 {
+       giInterface_Width = giScreenWidth/16;
+       
        Video_FillRect(
                0, 0,
-               giScreenWidth/16, giScreenHeight,
+               giInterface_Width, giScreenHeight,
                0xDDDDDD);
        
        Video_Update();

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