diff --git a/programs/demos/3dcube2/trunk/3DCUBE2.ASM b/programs/demos/3dcube2/trunk/3DCUBE2.ASM index f5b5886f64..51138fdeb7 100644 --- a/programs/demos/3dcube2/trunk/3DCUBE2.ASM +++ b/programs/demos/3dcube2/trunk/3DCUBE2.ASM @@ -65,7 +65,7 @@ still: ; cmp eax,3 ; button in buffer ? jz button - fps 230,8,cl_White,cl_Black + fps 220,9,cl_White,cl_Black main_loop: @@ -110,23 +110,20 @@ exit: ;Draw window draw_window: - mov eax,12 ;Start - mov ebx,1 - mcall + mcall 12, 1 ;Start window redraw mov eax,0 ;Draw window - mov ebx,100*65536+(SCREEN_X+9) ;x start*65536+x size + mov ebx,100*65536+(SCREEN_X+9) ;x start*65536+x size mov ecx,100*65536+(SCREEN_Y+26) ;y start*65536+y size mov edx,0x54000000 ;0x03 use skinned window mov edi,title mcall - mov eax,12 ;End - mov ebx,2 - mcall + mcall 12, 2 ;End window redraw + ret -title db '3D TEST SAMPLE',0 +title db '3D Cube Sample',0 ; Draw faces procedure