Add basic package support (no IR support yet)

This commit is contained in:
gingerBill
2018-05-26 23:12:55 +01:00
parent 5b6770f3d2
commit c067b90403
20 changed files with 698 additions and 818 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
package win32
when ODIN_OS == "windows" {
// when ODIN_OS == "windows" {
foreign import "system:opengl32.lib"
}
// }
CONTEXT_MAJOR_VERSION_ARB :: 0x2091;
+2 -2
View File
@@ -1,12 +1,12 @@
package win32
when ODIN_OS == "windows" {
// when ODIN_OS == "windows" {
foreign import "system:kernel32.lib"
foreign import "system:user32.lib"
foreign import "system:gdi32.lib"
foreign import "system:winmm.lib"
foreign import "system:shell32.lib"
}
// }
Handle :: distinct rawptr;
Hwnd :: distinct Handle;