From 8f0e1234e0371a48085830675f157d74afa11f98 Mon Sep 17 00:00:00 2001 From: Yogev Ezra Date: Sat, 29 Jan 2011 15:20:21 +0000 Subject: [PATCH] '3DSheart.ASM': fix2 git-svn-id: svn://kolibrios.org@1784 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/demos/3dsheart/trunk/3DSheart.ASM | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/programs/demos/3dsheart/trunk/3DSheart.ASM b/programs/demos/3dsheart/trunk/3DSheart.ASM index 8f493b572a..9a53f0a95c 100644 --- a/programs/demos/3dsheart/trunk/3DSheart.ASM +++ b/programs/demos/3dsheart/trunk/3DSheart.ASM @@ -319,6 +319,14 @@ include "../../3DS/3DMATH.INC" include "../../3DS/GRD3.INC" include "../../3DS/FLAT3.INC" +fill_Z_buffer: + mov eax,0x70000000 + ; mov edi,Z_buffer + mov edi,[Zbuffer_ptr] + mov ecx,SIZE_X*SIZE_Y + rep stosd +ret + ;alloc_buffer_mem: ; mov eax,68