mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-04 10:18:31 +00:00
Add WIN32 symbols for OpenGL support (#304)
This commit is contained in:
parent
30cd28b1f8
commit
0a0997a872
20 changed files with 290 additions and 92 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue