Subversion Repositories Kolibri OS

Rev

Rev 5153 | Rev 5269 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5153 Rev 5171
Line 13... Line 13...
13
 
13
 
Line 14... Line 14...
14
align 4
14
align 4
15
proc endSharedState uses eax ebx, context:dword
15
proc endSharedState uses eax ebx, context:dword
16
	mov ebx,[context]
16
	mov ebx,[context]
17
	mov ebx,[ebx+offs_cont_shared_state]
-
 
Line 18... Line -...
18
 
-
 
19
	;  int i;
17
 
20
;  for(i=0;i
18
;  for(i=0;i
21
;    /* TODO */
19
;    /* TODO */
22
;  }
20
;  }
23
	stdcall gl_free, dword[ebx] ;lists
21
	stdcall gl_free, dword[ebx+offs_cont_shared_state] ;lists
24
	stdcall gl_free, dword[ebx+4] ;texture_hash_table
22
	stdcall gl_free, dword[ebx+offs_cont_shared_state+4] ;texture_hash_table
25
	ret
23
	ret
Line 26... Line 24...
26
endp
24
endp
27
 
25
 
28
align 4
-
 
29
proc glInit uses eax ebx ecx edx, zbuffer1:dword
-
 
30
;  int i;
26
align 4
31
 
27
proc glInit uses eax ebx ecx edx, zbuffer1:dword
32
	stdcall gl_zalloc,sizeof.GLContext
28
	stdcall gl_zalloc,sizeof.GLContext
Line 33... Line 29...
33
	mov dword[gl_ctx],eax
29
	mov dword[gl_ctx],eax