Subversion Repositories Kolibri OS

Rev

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

Rev 5387 Rev 5922
Line 214... Line 214...
214
		ffree st0
214
		ffree st0
215
		fincstp
215
		fincstp
216
		jmp .end_f
216
		jmp .end_f
217
	.end_spot_c:
217
	.end_spot_c:
218
	cmp ecx,GL_CONSTANT_ATTENUATION
218
	cmp ecx,GL_CONSTANT_ATTENUATION
-
 
219
	jne @f
219
		mov ecx,[ebx+12]
220
		mov ecx,[ebx+12]
220
		mov [edi+offs_ligh_attenuation],ecx ;l->attenuation[0]=p[3]
221
		mov [edi+offs_ligh_attenuation],ecx ;l->attenuation[0]=p[3]
221
		jmp .end_f
222
		jmp .end_f
222
	@@:
223
	@@:
223
	cmp ecx,GL_LINEAR_ATTENUATION
224
	cmp ecx,GL_LINEAR_ATTENUATION
-
 
225
	jne @f
224
		mov ecx,[ebx+12]
226
		mov ecx,[ebx+12]
225
		mov [edi+offs_ligh_attenuation+4],ecx ;l->attenuation[1]=p[3]
227
		mov [edi+offs_ligh_attenuation+4],ecx ;l->attenuation[1]=p[3]
226
		jmp .end_f
228
		jmp .end_f
227
	@@:
229
	@@:
228
	cmp ecx,GL_QUADRATIC_ATTENUATION
230
	cmp ecx,GL_QUADRATIC_ATTENUATION
-
 
231
	jne @f
229
		mov ecx,[ebx+12]
232
		mov ecx,[ebx+12]
230
		mov [edi+offs_ligh_attenuation+8],ecx ;l->attenuation[2]=p[3]
233
		mov [edi+offs_ligh_attenuation+8],ecx ;l->attenuation[2]=p[3]
231
		jmp .end_f
234
		jmp .end_f
232
	@@: ;default:
235
	@@: ;default:
233
;    assert(0);
236
;    assert(0);