Add WIN32 symbols for OpenGL support (#304)

This commit is contained in:
jacereda 2021-10-26 23:18:13 +02:00 committed by GitHub
parent 30cd28b1f8
commit 0a0997a872
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 290 additions and 92 deletions

View file

@ -1,2 +1,15 @@
.include "o/libc/nt/codegen.inc"
.imp user32,__imp_DestroyIcon,DestroyIcon,1687
.text.windows
DestroyIcon:
push %rbp
mov %rsp,%rbp
.profilable
mov %rdi,%rcx
sub $32,%rsp
call *__imp_DestroyIcon(%rip)
leave
ret
.endfn DestroyIcon,globl
.previous