diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-08-27 17:03:27 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-08-27 17:03:27 +0100 |
| commit | b9e347ef5072ac3d1f8dcc1ba2d678109f9ff016 (patch) | |
| tree | 5890f5aba3eaced5c85d6ca7b95d69df163397b5 /core/sys | |
| parent | 6707c8750e951ed6533ab3d4240314cf0bba7147 (diff) | |
Replace `import_load` with `using import .`
Diffstat (limited to 'core/sys')
| -rw-r--r-- | core/sys/wgl.odin | 2 | ||||
| -rw-r--r-- | core/sys/windows.odin | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/sys/wgl.odin b/core/sys/wgl.odin index 44d0df1a9..46e388057 100644 --- a/core/sys/wgl.odin +++ b/core/sys/wgl.odin @@ -1,5 +1,5 @@ foreign_system_library "opengl32.lib" when ODIN_OS == "windows"; -import . "windows.odin"; +using import "windows.odin"; CONTEXT_MAJOR_VERSION_ARB :: 0x2091; diff --git a/core/sys/windows.odin b/core/sys/windows.odin index 12b07ad63..53b8a1434 100644 --- a/core/sys/windows.odin +++ b/core/sys/windows.odin @@ -457,7 +457,7 @@ foreign gdi32 { stretch_dibits :: proc(hdc: Hdc, x_dst, y_dst, width_dst, height_dst: i32, x_src, y_src, width_src, header_src: i32, - bits: rawptr, bits_info: ^BitmapInfo, + bits: rawptr, bits_info: ^Bitmap_Info, usage: u32, rop: u32) -> i32 #cc_std #link_name "StretchDIBits" ---; @@ -572,7 +572,7 @@ Bitmap_Info_Header :: struct #ordered { clr_used: u32; clr_important: u32; } -BitmapInfo :: struct #ordered { +Bitmap_Info :: struct #ordered { using header: Bitmap_Info_Header; colors: [1]Rgb_Quad; } |