/programs/develop/libraries/TinyGL/asm_fork/misc.asm |
---|
186,7 → 186,8 |
jl .els_0 |
cmp ebx,GL_LIGHT0+MAX_LIGHTS |
jge .els_0 ;if (GL_LIGHT0 <= ebx < GL_LIGHT0+MAX_LIGHTS) |
stdcall gl_enable_disable_light, eax,ebx-GL_LIGHT0,ecx |
sub ebx,GL_LIGHT0 |
stdcall gl_enable_disable_light, eax,ebx,ecx |
jmp .end_f |
.els_0: |
;//fprintf(stderr,"glEnableDisable: 0x%X not supported.\n",code); |