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,12 @@
.include "o/libc/nt/codegen.inc"
.imp gdi32,__imp_CreateBitmap,CreateBitmap,1056
.text.windows
CreateBitmap:
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_CreateBitmap(%rip),%rax
jmp __sysv2nt6
.endfn CreateBitmap,globl
.previous