From efabe7d04788166b1b0417d689c9aab818a1852d Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Mon, 15 Feb 2010 01:24:40 +0000 Subject: [PATCH] free3d04: correct window size, trasparent background git-svn-id: svn://kolibrios.org@1416 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/demos/free3d04/trunk/free3d04.asm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/programs/demos/free3d04/trunk/free3d04.asm b/programs/demos/free3d04/trunk/free3d04.asm index 13ac22cd97..c04c6c5eab 100644 --- a/programs/demos/free3d04/trunk/free3d04.asm +++ b/programs/demos/free3d04/trunk/free3d04.asm @@ -12,6 +12,7 @@ ; ; Heavyiron - new 0-function of drawing window from kolibri (do not work correctly with menuet) + TEX_SIZE equ 64*64*4 ceil = sinus+16*1024 wall = ceil+TEX_SIZE*1 @@ -301,8 +302,8 @@ draw_window: ; DRAW WINDOW mov eax,0 ; function 0 : define and draw window mov ebx,50*65536+649 ; [x start] *65536 + [x size] - mov ecx,50*65536+504 ; [y start] *65536 + [y size] - mov edx,0x34ffffff ; color of work area RRGGBB,8->color gl + mov ecx,50*65536+506 ; [y start] *65536 + [y size] + mov edx,0x74ffffff ; color of work area RRGGBB,8->color gl mov edi,title mcall